FloatGenerator generator¶
Warning
The current page still doesn't have a translation for this language.
But you can help translating it: Contributing.
Generate floating-point values within a configurable range and distribution.
Why: Use FloatGenerator for bounded measurements, ratios, or monetary test values that require decimal granularity; use IntegerGenerator when fractional values are invalid.
Category: core.
Output: float.
1 | |
Parameters¶
min:float | null; DefaultNone— Inclusive lower bound of generated values.max:float | null; DefaultNone— Inclusive upper bound of generated values.granularity:float | null; DefaultNone— Smallest permitted step between generated values.distribution:str | null; DefaultNone— Statistical distribution used across the bounded numeric grid.