Eyeon:Script/Reference/Libraries/math/floor

From VFXPedia

Jump to: navigation, search

Contents

math.floor

Math: math.floor

Arguments

math.floor( number )

  • number (required, numeric)

The numeric value to be rounded down.

Returns

A number representing the supplied argument rounded down to the nearest integer.

Remarks

See the examples.

Requirements

  • eyeonScript 5.0
  • Fusion 5.0

Examples

-- set a non-integer value for variable i i = 1.2345 -- returns 1 math.floor( i)


Tips for floor (edit)

EyeonTips:Script/Reference/Libraries/math/floor