Instructions
350Libraries
© 2013 Conrad Electronic
0
padd with "0"
l
32-Bit Integer
Format
Description
%[width]d
integer
%[width][.prec]u
unsigned integer
%[width]x
hexadecimal
%[width][.prec]f
floating point
%[width]s
string
%[width]c
char
Parameter
str pointer to string
format pointer to format string
5.24.8 Str_ReadFloat
String Functions
Syntax
float Str_ReadFloat(char str[]);
Sub Str_ReadFloat(ByRef str As Char) As Single
Description
The value of a string representing a floating point number is returned. The number is recognized,
even if there or other characters after the number.
Parameter
str pointer to string
Return Parameter
floating point value of string
5.24.9 Str_ReadInt
String Functions
Syntax
int Str_ReadInt(char str[]);
Sub Str_ReadInt(ByRef str As Char) As Integer