to_int

final_realms_fluffos_v1/lib/doc/man/mudos/efuns/floats/to_int · 350 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

to_int - convert a float or buffer to an int

int to_int( float | buffer x );

If `x' is a float, the to_int() call returns the number of type `int' that is 
equivalent to `x' (with any decimal stripped off).  If `x' is a buffer, the
call returns the integer (in network-byte-order) that is embedded in the
buffer.

See also:
 to_float,
 read_buffer

Site Stats

Snippets: 1791
Codebases: 571