Project

General

Profile

Added in 1.9.0

$int(N)

Returns the integer part of a floating point number with no rounding.

Parameters

N - The floating point number to convert.

Example

; Convert '3.14159' to '3'
//echo -ag Converted to $int(3.14159)

Updated by Per Amundsen about 2 years ago · 1 revisions

Also available in: PDF HTML TXT