Lasso Soft Inc. > Home

[ decimal->ldexp ]

Method

Returns the load exponent of a floating point number, as represented by the expression x * (2 to the power of e), where x is the decimal and e is a required integer parameter.

  • Syntax
Decimal Object->ldexp(Integer Value)
Examples
  • Beginner

To return the load exponent of a floating point number:

Use the [decimal->ldexp] method. The following example returns the load exponent of a floating point number.

Code

1.0->ldexp(2)

Result

4.000000
Resources
  • 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