#int(), #integer()
DESCRIPTION
returns a number rounded down to the nearest integer
SYNOPSIS
#int(n)
#integer(n)
ARGUMENTS
n - a number, or numerical expression
EXAMPLES
# pikt +C 'output $text(#int(-3.75))'
-4
# pikt +C 'output $text(#int(-3.5))'
-4
# pikt +C 'output $text(#int(-3.25))'
-4
# pikt +C 'output $text(#int(3.25))'
3
# pikt +C 'output $text(#int(3.5))'
3
# pikt +C 'output $text(#int(3.75))'
3
=set_lineage($rdlin)
set #daysold = #max(#int(#lineage/=secs_in_day), 0)
SEE ALSO
#ceiling()
#trunc(), #truncate()
#round()
Numerical Functions
String Functions