FloorOperator

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the floor of <Target>
Associationscom.livecode.mathfoundation
Summary

Returns the floor of Target.

Parameters
NameTypeDescription
Target

An expression that evaluates to a number.

Example
variable tNum as Number
variable tFloor as Number
put -5.5 into tNum
put the floor of tNum into tFloor -- tFloor contains -6
Values
NameTypeDescription
return

The floor of Target

Description

The floor of Target is the greatest integer less than or equal to Target.

Tagsmath