Lasso Soft Inc. > Home

[ decimal->abs ]

Method

Returns the absolute value of the decimal. The decimal must be an instantiated object (variable), and not an expression (-1.0).

  • Syntax
Decimal Object->abs
Examples
  • Beginner

Code

local(d) = -1.5
#d->abs

Result

1.500000

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