pyufunc.human_intcomma#
- pyufunc.human_intcomma(value, ndigits=None)#
Format a number with comma separators.
- Parameters:
value – Numeric value or numeric string.
ndigits – Optional number of decimal digits.
Note
Source package:
humanize.Source repository: python-humanize/humanize
Source document: https://humanize.readthedocs.io/
Source license: MIT License.
Example
>>> human_intcomma(1200000) '1,200,000'
- Returns:
Number formatted with comma separators.
- Return type: