|
The ABS() function returns the absolute value of a number.
The ACOS() function returns the arccosine of a number.
The ASIN() function returns the arcsine of a number.
The ATAN() function returns the arctangent of a number.
The CEIL() function returns the smallest integer greater than or equal to a number.
The COS() function returns the cosine of an angle.
The EXP() function returns e raised to the power of a number.
The FLOOR() function returns the largest integer less than or equal to a number.
The LOG() function returns the natural logarithm (base e) of a number.
The MIN() function returns the minimum value among its arguments.
The POW() function returns a number raised to the power of another number.
The SIN() function returns the sine of an angle.
The SQRT() function returns the square root of a number.
The TAN() function returns the tangent of an angle.
The DIV0() function divides two numbers and returns 0 if the divisor is 0.
The FP() function returns the fractional part of a number.
The INT() function returns the whole portion of a real number as a real number.
The INTEGER() function converts a numeric expression to an integer value.
The IP() function truncates the value of a real number at the decimal point and returns the integer portion.
The MAX() function returns the larger of two values.
The MIN() function returns the lesser of two values.
The MOD() function returns the remainder of one number divided by another.
The REAL() function converts a numeric expression to a REAL value.
The REMAINDER() function returns the remainder when one number is divided by another.
Sheerpower provides a simple and efficient way to generate random
numbers using the rnd()
function.
This single line of code generates a random integer between 1 and 100, inclusive.
When you want to generate a random number within a specific range
(e.g., 1 to 100), simply passing the upper limit of the range to
rnd()
is all you need. There's no need for additional
calculations or adjustments.
rnd()
function automatically
starts at 1 and goes up to the number specified (inclusive), making it
perfect for generating random numbers within a defined range.
The RND function (without any parameter) returns a random fraction.
If a numeric expression is given as an argument,
returns a whole number between one and the numeric expression.
Optionally, SET SEED NN statement can be used to specify a specific random sequence of NN,
otherwise the sequence itself is chosen by a random system time event.
The ROUND() function rounds a number to the specified number of decimal places.
The TRUNCATE() function truncates a real number to a given number of decimal places.
The ABS() function returns the absolute value of a specified numeric expression.
The ACOS() function returns the arccosine of a number.
The ANGLE() function, given X and Y coordinates, returns the angle from 0,0 in radians.
The ASIN() function returns the arcsine of a number.
The ATN() function returns the arctangent of a number.
Hide Description
|
|
Enter or modify the code below, and then click on RUN |
Looking for the full power of Sheerpower?
Check out the Sheerpower website. Free to download. Free to use. |