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.

Import

import ballerina/random;Copy

Metadata

Released date: over 3 years ago

Version: 0.10.0-alpha8


Compatibility

Platform: java11

Ballerina version: slalpha5

GraalVM compatible: Yes


Pull count

Total: 29917

Current verison: 579


Weekly downloads


Other versions

See more...