Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

convert string to float c

char myString = "6.88";
float x = atof(myString);
//x is now 6.88
 
PREVIOUS NEXT
Tagged: #convert #string #float
ADD COMMENT
Topic
Name
8+7 =