Lasso Soft Inc. > Home

[lp_math_phi]

Linklp_math_phi
AuthorBil Corry
CategoryMath
Version8.x
LicensePublic Domain
Posted23 Dec 2005
Updated17 Feb 2006
More by this author...

Description

Returns the value of Phi, aka The Golden Ratio.

Sample Usage

lp_math_phi;

returns:

1.6180339887498948482045868343656

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_phi',
	-description='Returns the value of Phi, aka The Golden Ratio.',
	-priority='replace';
	// http://mathforum.org/dr.math/faq/faq.golden.ratio.html
	return: lp_decimal_precisionset:(decimal: 1.6180339887498948482045868343656);
/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