Lasso Soft Inc. > Home

[Math_Floor]

[Math_Floor] returns the next lower integer for a single decimal parameter (floor).
If an integer parameter is specified it is returned unchanged.

  • Syntax
  • Parameters
[Math_Floor: Decimal Value]
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]
Result:
3
Tag Link [Math_Floor] Category Math
Type Substitution Data Source Any
Support Preferred Version 3.0
Output Type Integer Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft