LassoScript Utility
Basics Browse Detail

[Math_Floor]

Tag Link [Math_Floor] Category Math
Type Substitution Source Available No
Support Preferred Version 3.0
Change Unchanged Data Source Any
Output Type 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_Floor] returns the next lower integer for a single decimal parameter (floor).
If an integer parameter is specified it is returned unchanged.

Syntax

[Math_FloorDecimal Value]

Parameters

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

Examples

To return the next lower integer to a decimal value:

Use the [Math_Floor] tag. The following example returns the next integer less than 3.14, returning 3.

[Math_Floor: 3.14]

3