Lasso Soft Inc. > Home

[lp_math_pi]

Linklp_math_pi
AuthorBil Corry
CategoryMath
Version8.x
LicensePublic Domain
Posted23 Dec 2005
Updated23 Dec 2005
More by this author...

Description

Returns the value of Pi.

Sample Usage

lp_math_pi;

returns:

3.14159265358979323846264338327950288419716939937510

Source Code

Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.

[

define_tag:'lp_math_pi',
    -description='Returns the value of Pi.',
    -priority='replace';
    // http://numbers.computation.free.fr/Constants/Miscellaneous/digits.html
    return: lp_decimal_precisionset:(decimal: 3.14159265358979323846264338327950288419716939937510);
/define_tag;

]

Comments

No comments

Please log in to comment

Subscribe to the LassoTalk mail list

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft