Lasso Soft Inc. > Home

[ decimal->remainder ]


Returns the floating point remainder r = x - ny when y is non-zero, and where x is the decimal and y is the required decimal parameter. The value n is the integral value nearest the exact value x/y. When | n - x/y | = ½, the value n is chosen to be even.

  • Syntax
Decimal Object->remainder(Decimal Value)
  • Beginner

To return the floating point remainder:

Use the [decimal->remainder] method. The following example returns the floating point remainder.




  • Articles

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