Skip to main content

Data_Formatter.with_number_formatting

with_number_formattingdecimal_pointthousand_separatorallow_leading_zerosallow_exponential_notation

Documentation

Create a clone of self with specified number formatting options.

Arguments

  • decimal_point: The character used to separate the integer part from the fractional part of a number.
  • thousand_separator: A separator that can be used to separate groups of digits in numbers.
  • allow_leading_zeros: Specifies if values starting with leading zeroes should be treated as numbers.
  • allow_exponential_notation: Allow parsing of exponential notation format.