Link | lp_math_CtoF |
Author | Bil Corry |
Category | Math |
Version | 8.x |
License | Public Domain |
Posted | 23 Dec 2005 |
Updated | 23 Dec 2005 |
More by this author... |
Returns Fahrenheit temperature given Celsius.
Requires [lp_decimal_precisionSet]
lp_math_ctof: 0; // returns 32 '
'; lp_math_ctof: 100; // returns 212
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_CtoF', -description='Returns Fahrenheit temperature given Celsius.', -priority='replace', -required='celsius'; // http://vathena.arc.nasa.gov/curric/weather/fahrcels.html return: (lp_decimal_precisionSet: (decimal:((decimal:9) / (decimal:5))) * (decimal:#celsius) + (decimal:32), 1); /define_tag; ]
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft