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


INTEGER toint(FLOAT|STRING|OBJNUM data)

This function accepts a FLOAT, STRING or OBJNUM data type and converts it to an integer 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