User Tools

Site Tools


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
basic/numeric_functions.txt · Last modified: 2017/07/21 11:31 by ncc