Preparing search index...
The search index is not available
GDevelop JavaScript game engine
GDevelop JavaScript game engine
gdjs
evtTools
common
trunc
Function trunc
trunc
(
x
)
:
number
Truncate a number.
Parameters
x
:
number
Value.
Returns
number
Return the value with all decimal places dropped.
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
GDevelop JavaScript game engine
Loading...
Truncate a number.