Open topic with navigation
The following example converts the initial portion of the string, s, to a long value.
long i; char * s = "2147483647 dollars"; i = atol(s); lr_output_message ("Price $%ld", i);
Output:vuser_init.c(8): Price $2147483647
© 2004 - 2016 Hewlett Packard Enterprise Development LP
Last updated November 23, 2016
Send Help Center Feedback to: firstname.lastname@example.org