Project

General

Profile

Actions

Added in 1.9.0

$int(N)

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

Parameters

Parameter Description
N The floating point number to convert.

Example

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

Updated by Per Amundsen over 1 year ago · 2 revisions

Also available in: PDF HTML TXT