$int: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
No edit summary
(No difference)

Revision as of 09:43, 5 September 2005

Returns the specified integer number without rounding.

$int(N)
  • N is the number with decimals you want to handle.

Examples

$int($pi) - will return 3
$int(9312412.3213) - will return 9312412

See also

$round, $ceil and $floor.