Lasso Soft Inc. > Home

[ decimal->asInteger ]

Method

Returns the decimal rounded to the nearest integer.

  • Syntax
Decimal Object->asInteger
Examples
  • Beginner

To return the decimal rounded to the nearest integer:

Use the [decimal->asInteger] method. The following example returns the decimal rounded to the nearest integer.

Code

2.6->asinteger

Result

3

Recent Comments

No Comments found

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