TRUNC()

From TVPaintWiki
Revision as of 14:04, 22 December 2009 by KenC (Talk | contribs) (Created page with '{{LangRefCatCrumbs}} TRUNC(variable, value) Returns the specified variable with the number of digits indicated by value after the decimal point. Example : pi = TRUNC(3.1415…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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