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.
Decimal Object->remainder(Decimal Value)
Use the [decimal->remainder] method. The following example returns the floating point remainder.
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.