Lasso Soft Inc. > Home

[Math_RInt]

Math_RInt] rounds a single decimal parameter to the nearest integer. The value .5 is rounded up.

  • Syntax
  • Parameters
[Math_RInt: Decimal Value]
Required Parameters
Decimal Value The value which is to be rounded to the nearest integer.
Examples

To round a decimal value to the nearest integer:

Use the [Math_Rint] tag. The following example rounds the number 3.14 to the nearest integer.

[Math_RInt: 3.14]
Result:
3
Tag Link [Math_RInt] Category Math
Type Substitution Data Source Any
Support Preferred Version 3.0
Output Type Integer Security None
Implementation Internal Sets 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 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft