Sign In

$trunc[]

Returns the integer part of the a numeric expression, x, removing any fractional digits. If x is already an integer, the result is x

v1.0.0+ Requires Brackets

Usage

$trunc[]
Also callable as
$truncate

Arguments

NameTypeRequiredDescription
number
NumberYesThe number to use

Output

Number

Was this page helpful?