Skip to content

Pattern: PRound

Round input to N decimal places.

Example output

>>> p = PRound(PWhite(0.0, 10.0))
>>> p.nextn(16)
[6, 8, 6, 0, 7, 6, 6, 4, 7, 7, 8, 7, 6, 8, 8, 4]