30+
years serving the scientific and engineering community
Log In
Buy Now
Try Origin for Free
Watch Videos
English
日本語
Deutsch
Toggle navigation
Products
PRODUCTS
Origin
OriginPro
Origin Viewer
All products
Origin vs. OriginPro
What's new in latest version
Product literature
SHOWCASE
Applications
User Case Studies
Video Tutorials
Graph Gallery
Animation Gallery
3D Function Gallery
FEATURES
2D&3D Graphing
Peak Analysis
Curve Fitting
Statistics
Signal Processing
Key features by version
LICENSING OPTIONS
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Who's using Origin
What users are saying
Published product reviews
Online Store
Get a quote/Ordering
Find a distributor
Apps
Data Import
CSV Connector
Excel Connector
HTML Connector
HDF Connector
NetCDF Connector
Import NMR Data
Import PDF Tables
Google Map Import
Import Shapefile
More...
Graphing
Graph Maker
Correlation Plot
Paired Comparison Plot
Venn Diagram
Taylor Diagram
Volcano Plot
Kernel Density Plot
Chromaticity Diagram
Heatmap with Dendrogram
More...
Publishing
Graph Publisher
Send Graphs to PowerPoint
Send Graphs to Word
Send Graphs to PDF
Send Graphs to OneNote
Movie Creator
Graph Anim
More...
Curve Fitting
Simple Fit
Speedy Fit
Piecewise Fit
Fit ODE
Fit Convolution
Rank Models
Fitting Function Library
Neural Network Regression
Polynomial Surface fit
Global Fit with Multiple Functions
More...
Peak Analysis
Simple Spectroscopy
Peak Deconvolution
Pulse Integration
Align Peaks
Global Peak Fit
PCA for Spectroscopy
2D Peak Analysis
Gel Molecular Weight Analyzer
More...
Statistics
SPC
DOE
Stats Advisor
PCA
RDA
Bootstrap Sampling
Time Series Analysis
Factor Analysis
General Linear Regression
Logistic Regression
SVM Classification
More...
How do Apps work in Origin?
Suggest a New App
Purchase
New Orders
Renew Maintenance
Upgrade Origin
Contact Sales(US & Canada only)
Find a Distributor
Licensing Options
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Purchasing FAQ
Support
SERVICES
Transfer Origin to new PC
License/Register Origin
Consulting
Training
Renew Maintenance
SUPPORT
Support FAQ
Help Center
Contact Support
Support Policy
DOWNLOADS
Service Releases
Origin Viewer
Orglab Module
Product Literature
Origin Trial
All downloads
VIDEOS
Installation and Licensing
Introduction to Origin
All video tutorials
DOCUMENTATION
User Guide
Tutorials
Python Programming
OriginC Programming
LabTalk Programming
All documentation
Communities
User Forum
User File Exchange
About Us
OriginLab Corp.
News & Events
Careers
Distributors
Contact Us
Contact Us
Log In
All Books
Non-Programming Books
User Guide
Tutorials
Quick Help
Origin Help
Programming Books
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
Orglab
2.1.6 Data Conversion
Functions
Name
Brief
Example
_strtoi64
Converts string to an __int64..
Examples
atoc
Converts string to a complex.
Examples
atof
Converts string to a double.
Examples
atoi
Converts string to an integer.
Examples
atol
Converts string to a long.
Examples
Bin2Dec
Convert bin string to int number.
Examples
Byte2Hex
Convert byte value to hex string.
Examples
convert_byte_vector_to_string_vector
Convert byte vector to string vector
Examples
convert_double_vector_to_string_vector
Convert double vector to string vector.
Examples
convert_floating_by_format
Convert floating point by format.
Examples
convert_int_vector_to_string_vector
Convert int vector to string vector
Examples
convert_str_vector_to_num_vector
Convert a string vector into a double vector.
Examples
convert_string_vector_to_byte_vector
Convert string vector to byte vector
Examples
convert_string_vector_to_int_vector
Convert string vector to int vector
Examples
convert_tree_double_vector_to_str_vector
Convert double vector treenode to string vector.
Examples
convert_uint_vector_to_string_vector
Convert uint vector to string vector
Examples
DoubleToStr
Convert a double value into a string using LabTalk formating notation
Examples
ftoa
Reverse of atof with LabTalk formatting options
Examples
Hex2Dec
Convert hex string to int number.
Examples
HSLtoRGB
convert HSL color to RGB
Examples
HSVtoRGB
convert HSV color to RGB
Examples
int_to_fixed_str
get a string with leading spaces filled with 0
Examples
itoa
Converts the integer value into a character string
Examples
json_escape_str_token
quote and check adding escape for JSON
Examples
json_generate_key_value_str
get a JSON key-value string array from a key string array and a value string array
Examples
json_separate_key_value_str
get a key string array and a value string array from a JSON key-value string array
Examples
LABtoRGB
convert LAB color to RGB
Examples
LCHtoRGB
convert LCH color to RGB
Examples
okutil_convert_double_vector_to_string_vector
Convert double array to string array with formatting
Examples
okutil_convert_ocolor_to_RGB
convert OCOLOR to RGB
Examples
okutil_convert_RGB_to_ocolor
convert RGB to OCOLOR
Examples
okutil_HTML_to_ocolor
Convert an HTML hex color string into an Origin OColor
Examples
okutil_ocolor_LT_color_convert
Convert between LabTalk color and OC OCOLOR. LabTalk color is 1-offset for indexed color and has support for indexed access to custom colors
Examples
okutil_ocolor_to_HTML
Convert an Origin OColor into an HTML hex color string
Examples
RGBtoHSL
convert RGB color to HSL
Examples
RGBtoHSV
convert RGB color to HSV
Examples
RGBtoLAB
convert RGB color to LAB
Examples
RGBtoLCH
convert RGB color to LCH
Examples
strtol
Converts a character string to a long int value.
Examples
Skip Navigation Links
All Books
Origin C
Origin C Reference
Global Functions
Data Conversion
User Guide
Tutorials
Quick Help
Origin Help
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
Orglab
Programming
Origin C Programming Guide
Origin C Reference
Examples
Origin Developer Kit
Build Dialogs using HTML and JavaScript
Global Functions
Classes
Macros
Typedef
Struct
Enum
Basic IO
Character and String Manipulation
COM
Communications
Curve
Data Conversion
Data Range
Date Time
File IO
File Management
Fitting
Image Processing
Import Export
Internal Origin Objects
LabTalk Interface
Math Functions
Mathematics
Matrix Conversion and Gridding
Memory Management
NAG Functions
Network
Signal Processing
Spectroscopy
Statistics
System
Tree
User Interface
atoc
atof
atoi
atol
Bin2Dec
Byte2Hex
convert_byte_vector_to_string_vector
convert_double_vector_to_string_vector
convert_floating_by_format
convert_int_vector_to_string_vector
convert_string_vector_to_byte_vector
convert_string_vector_to_int_vector
convert_str_vector_to_num_vector
convert_tree_double_vector_to_str_vector
convert_uint_vector_to_string_vector
DoubleToStr
ftoa
Hex2Dec
HSLtoRGB
HSVtoRGB
int_to_fixed_str
itoa
json_escape_str_token
json_generate_key_value_str
json_separate_key_value_str
LABtoRGB
LCHtoRGB
okutil_HTML_to_ocolor
okutil_ocolor_to_HTML
okutil_convert_double_vector_to_string_vector
okutil_convert_ocolor_to_RGB
okutil_convert_RGB_to_ocolor
okutil_ocolor_LT_color_convert
RGBtoHSL
RGBtoHSV
RGBtoLAB
RGBtoLCH
strtol
_strtoi64
English
|
Deutsch
|
日本語
© OriginLab Corporation. All rights reserved.
×
☐
_
Let's Chat