Project

General

Profile

Actions

$int » History » Revision 1

Revision 1/2 | Next »
Per Amundsen, 08/06/2015 07:19 AM


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 over 9 years ago · 1 revisions

Also available in: PDF HTML TXT