<b>floating_point_to_string()</b>




Document: The safe-c User Guide

next string_to_integer()
up Functions
gif string_to_floating_point()

floating_point_to_string()

floating_point_to_string() accepts exactly two arguments. The first must be a variable of string_type. The second must be of floating_point_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 floating_point_to_string()). In any case, if this second argument is a variable, it will not be altered by floating_point_to_string().

floating_point_to_string() takes the value of floating_point_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.

floating_point_to_string() does not produce any return value.




Document: The safe-c User Guide

next string_to_integer()
up Functions
gif string_to_floating_point()



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