Skip to content

CASIO

User´s Guide

Find

Random Number (Ran#), Random Integer (RanInt#)

Random Number (Ran#)

Function that generates a pseudo random number in the range of 0.000 to 0.999.
The result is displayed as a fraction when MathI/MathO is selected for Input/Output on the setup menu.


Example: Generate three 3-digit random numbers.
The random 3 digit decimal values are converted to 3-digit integer values by multiplying by 1000.
Note that the values shown here are examples only. Values actually generated by your calculator will be different.

  • 1000(Ran#)

Random Integer (RanInt#)

For input of the function of the form RanInt#(a, b), which generates a random integer within the range of a to b.


Example: To generate random integers in the range of 1 to 6.
Note that the values shown here are examples only.
Values actually generated by your calculator will be different.

  • (RanInt) 1(,) 6
print this page
Top of page