OBJECT
/lib/number
SYNOPSIS
inherit "/lib/number";
(or use call_other to use the functions)
int abs(int i)
status sign(int i)
int max(int *arr)
int min(int *arr)
int val(string v)
float a_avarage(int *arr)
float g_avarage(int *arr)
LAST UPDATE
07julc95, Thragor@Nightfall
DESCRIPTION
int abs(int i)
Return the absolute value of i.
int sign(int i)
Return -1, 0 or 1 when i is negative, 0 or positive
int max(int *arr)
Returns the maximum number in the array.
int min(int *arr)
Returns the minimum number in the array.
int sum(int *arr)
Return the sum of all values given.
int val(string v)
Converts string to integer.
float a_avarage(int *arr)
Returns the arithmatical avarage of the numbers in the array.
float g_avarage(int *arr)
Returns the geometrical avarage of the numbers in the array.
INHERITANCE TREE
number
SEE ALSO
string(L)