Welcome to the Creatures Wiki! Log in and join the community.

VTOS

From Creatures Wiki
Jump to: navigation, search

VTOS is a CAOS command for decimal-to-string conversion.

Usage[edit]

Syntax: VTOS num (int or float)

Returns a string equivalent to num.

lc2e prints integers as they stand. Floats are printed with 6 decimal places; infinities are printed 'inf' or '-inf', and Not a Number is printed 'nan'.

Examples[edit]

See examples in FILE OOPE and ADDS.

Editnorn.png This article about a CAOS command or function needs further examples.

See also[edit]