<b>integer_to_string()</b>




Document: The safe-c User Guide

next string_to_boolean()
up Functions
gif string_to_integer()

integer_to_string()

integer_to_string() accepts exactly two arguments. The first must be a variable of string_type. The second must be of integer_type, and may be either a constant or a variable. However, in practise it will normally be a variable (since, otherwise, a constant of string_type could simply be used directly, instead of invoking integer_to_string()). In any case, if this second argument is a variable, it will not be altered by integer_to_string().

integer_to_string() takes the value of integer_type given by the second argument, and converts it into a corresponding string_type value, in decimal (base 10) notation, and stores this string in the variable given as the first argument.

integer_to_string() does not produce any return value.




Document: The safe-c User Guide

next string_to_boolean()
up Functions
gif string_to_integer()



McMullin@eeng.dcu.ie
Fri Jan 12 12:30:02 GMT 1996