Eyeon:Script/Reference/Libraries/math/ceil

From VFXPedia

Jump to: navigation, search

Contents

math.ceil

Math: math.ceil

Arguments

math.ceil( number )

  • number (required, numeric)

The numeric value to be rounded up.

Returns

A number representing the supplied argument rounded up 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 2 math.ceil( i)


Tips for ceil (edit)

EyeonTips:Script/Reference/Libraries/math/ceil