Cold Help System: Programming: ColdC Reference Manual: Functions: Data: tofloat()


FLOAT tofloat(STRING|INTEGER|OBJNUM data)

This function accepts a STRING, INTEGER or OBJNUM data type and converts it to a FLOAT data type. Specifying any other data type will result in a ~type error.


frob_class() | size() | toerr() | tofloat() | toint() | toliteral() | toobjnum() | tostr() | tosym() | type() | valid() | fromliteral() | frob_value() | frob_handler()


the Cold Dark