Returns the length of the hypotenuse of a right-angled triangle, where the two legs that form the right angle are the decimal object and the decimal parameter.
Decimal Object->hypot(Decimal Value)
Use the [decimal->hypot] method. The following example returns the hypotenuse of a right triangle, given the two lengths of the legs of the triangle that form the right angle as the decimal object and decimal parameter.
Code
3.0->hypot(4.0)
Result
5.000000
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments