XML Script logo
Function floor
Name

floor

Returns

number

Parameter count

1

Parameter 1

value, a number

Description

Takes the floating-point number given by 'value' and rounds it downto the nearest integer.
# floor(1.234) # == 1
# floor(-1.234) # == -2

Examples of use

                                
                        

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited