Files
django-stubs/django-stubs-generated/utils/numberformat.pyi
2018-12-03 18:52:44 +03:00

13 lines
353 B
Python

from decimal import Decimal
from typing import Any, Optional, Tuple, Union
def format(
number: Union[Decimal, float, str],
decimal_sep: str,
decimal_pos: Optional[int] = ...,
grouping: Union[Tuple[int, int, int], int] = ...,
thousand_sep: str = ...,
force_grouping: bool = ...,
use_l10n: Optional[bool] = ...,
) -> str: ...