PhantomScript v1.7 Reference - Copyright © 2006 P1 Systems Incorporated. All Rights Reserved.

Prev | Next | Users Guide | PhantomScript Reference | P1 Systems


Miscellaneous

Floor

Syntax

Floor <number>

Description

Return the floor of the specified number.

Parameters

<number>

A integer or floating point number.

Remarks

The floor is the largest integer value less than or equal to a specified number. Thus, it is the integer part of a floating point number. See also Ceiling.

Example

   f = Ceiling 2.45

The example sets the variable f equal to 2.



Prev | Next | Users Guide | PhantomScript Reference | P1 Systems

PhantomScript v1.7 Reference - Copyright © 2006 P1 Systems Incorporated. All Rights Reserved.