pub fn python_decimal_str(d: &BigDecimal) -> StringExpand description
Python’s str(Decimal) — the to-scientific-string algorithm from the
General Decimal Arithmetic spec. Needed because has_decimal checks
"." in str(number) and to_ordinal_num’s base default returns the
value itself, which the dispatcher then str()s.