atol
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Converts the string s to a LONG number. The number base is decimal. Starting with string 0x, base 16 is used. Leading blanks are not read.Parameters
- s: String to be converted.
Return Values
- The converted number.
- 0 will be returned if the string is no number.
Example
z1 = 200, z2 = 255 ltoa • strtol • strtoul