truncate
truncate()
Section titled “truncate()”Category: Math
Returns the integer part of the input (truncation towards zero)
Signature
Section titled “Signature”- Return type:
integer
Examples
Section titled “Examples”3.14.truncate()(-2.9).truncate()5.truncate()