zut.numeric.get_number_str

zut.numeric.get_number_str(value: float | Decimal | int, *, max_decimals=15, decimal_separator='.', no_scientific_notation=False)

Display the number as a digits string without using scientifical notation, with integer part, decimal separator and decimal part (if any).

This is less accurate for small decimals but more readable and portable when approximations are OK.