Numeric Functions

Husky BASIC provides the following functions for operating on numbers:

Function Description
ABS Returns absolute value of argument
ATN Returns arctangent of argument
COS Returns cosine of argument
EXP Returns e to the power of the argument
FIX Strips argument to integer
INT Returns integer part of argument
LN Returns natural logarithm
LOG Returns logarithm to base 10
PI Returns value of PI
RND Produces random number
SGN Returns a value for the sign of its argument
SIN Returns sine of argument
SQR Returns square root of its argument
TAN Returns tangent of argument