ajBigNumRand function
Description
Returns a new BigNumber with a pseudo-random value equal to or greater than 0 and less than 1.
Syntax
ajBigNumRand(decimal_places)
Argument Name | Argument Type | Description |
---|---|---|
decimal_places (required) | Integer | It is a number value which is to define the no. of places of the random value. If a decimal number is inputted, it will be rounded down. |
The function will return:
1) Return Value: BigNumber String
2) Return Type: Single Value
Error Scenarios
It will return #VALUE! when missing any required parameter or mismatch parameter type. Besides, system will raise error for below scenario(s).
Error Scenario |
---|
Invalid decimal places, it should be greater than or equal to zero. |