randomf

Crates.iorandomf
lib.rsrandomf
version0.1.0
sourcesrc
created_at2022-10-06 15:01:31.557982
updated_at2022-10-06 15:01:31.557982
descriptionsimple cli to generate random numbers
homepage
repositoryhttps://github.com/nilsmartel/randomf
max_upload_size
id681401
size6,339
Nils Martel (nilsmartel)

documentation

README

randomf

cli to easily generate random and adjust them to your liking.

Usage:
    random <...function>

        functions get applied one after another.

        functions are:

        floor
        round
        ceil
        between float float
        log
        pow float
        sqrt
        add float
        mul float
        sub float
        div float

Examples

# generate random integers between 1 and 10
randomf between 1 11 floor

# generate some random number between 0 and 1
randomf

# generate some random number between 0 and 99, making higher numbers much less likely
randomf pow 2 between 0 100
Commit count: 5

cargo fmt