[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Return a random element of an array of numbers
Source position: math.pp line 598
function RandomFrom( |
const AValues: array of Double |
):Double; overload; |
const AValues: array of Integer |
):Integer; overload; |
const AValues: array of Int64 |
):Int64; overload; |
RandomFrom returns a random element from the array AValues. The return value has the same type as the type of the array elements.
|
Generate random number |
|
|
Return a random number in a range |