Blind, Braille and Embossing Technologies

This site uses cookies to personalize content and ads, provide social media features and analyze links. By closing this banner or continuing to browse, you consent to their use.
Read the DiGrande.it Cookie Policy

Random- Returns a random number

Function that returns a integer or floating point random number.

- Random([R]): num


- (int) R: maximum value (optional).


Use the Random function to derive a random number. If you do not specify the Random parameter it returns a floating point number from 0 to less than 1. If you specify the Random parameter it returns an integer from 0 to R-1;