LassoScript Utility
Basics Browse Detail

[Math_Ceil]

Tag Link [Math_Ceil] Category Math
Type Substitution Source Available No
Support Preferred Version 3.0
Change Unchanged Data Source Any
Output Type Decimal or Integer Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x

Description

[Math_Ceil] returns the next higher integer for a single decimal parameter (ceiling).
If an integer parameter is specified it is returned unchanged.

Syntax

[Math_CeilDecimal Value]

Parameters

Required Parameters
Decimal Value The value for which the next higher integer should be returned.

Examples

To return the next higher integer to a decimal value:

Use the [Math_Ceil] tag. The following example returns the next integer greater than 3.14, returning 4.

[Math_Ceil: 3.14]

4