TRUNC()

From TVPaintWiki
Jump to: navigation, search

<<<George<<<George Language Reference

  TRUNC(variable, value)

Returns the specified variable with the number of digits indicated by value after the decimal point.

Example :

pi = TRUNC(3.1415629) // returns 3.14