XML Script logo
Function ceiling
Name

ceiling

Returns

number

Parameter count

1

Parameter 1

value, a number

Description

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

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