OptionalallowOptionalnegative?: booleanAllow negative values (default true).
Optionalpositive?: booleanAllow positive values (default true). With negative: false and zero left to false nothing is left: it throws.
Optionalzero?: booleanAllow the value 0 (default false).
OptionalmaxBound (absolute value) of the numerator and of the denominator (default 10).
OptionalrangeInterval of the value: a number d means [-|d|, |d|], {min, max} gives explicit bounds (default: none, the
value is only bounded by max). Combined with allow: a sign is possible only if the interval holds values
of that sign. max then defaults to the largest bound of the interval, at least 2 (doubled when the interval
stays at least 1 away from 0), so that a small interval still gets fractions. Where a generator drives the interval itself (the coordinates of a point, the
radius…), its own interval replaces this one.
OptionalreducedReduce the fraction (default true).
Optionalrelativetrue forces an integer of either sign (denominator 1): the name follows Fraction.isRelative()
(a "natural" number would be non-negative). Default false.
Options of
rndFraction.