Note: There is a newer version (1.7.0) of this package available. Click here to view docs for the latest version.
Module random
ballerina/random Ballerina library
0.10.0-alpha8
Package Overview
This package provides functions related to random number generation. The random:createDecimal
method generates a random decimal number between 0.0 and 1.0. The random:createIntInRange
method generates a random number between the given start(inclusive) and end(exclusive) values.
For an example on the usage of the operations, see the Random Example.