2012

Table Of Contents
cvunit(value, from_unit, to_unit)
The following example converts the value 1 from inches to centimeters:
cvunit(1,inch,cm)
See also:
Use the Command Line Calculator
Use Standard Numeric Functions
CAL supports the standard numeric functions in the following table.
Numeric functions
DescriptionFunction
Sine of the anglesin(angle)
Cosine of the anglecos(angle)
Tangent of the angletang(angle)
Arcsine of the number; the number must be between -1 and 1asin(real)
Arccosine of the number; the number must be between -1 and 1acos(real)
Arctangent of the numberatan(real)
Natural log of the numberln(real)
Base-10 log of the numberlog(real)
Natural exponent of the numberexp(real)
Base-10 exponent of the numberexp10(real)
Square of the numbersqr(real)
168 | Chapter 2 Commands