mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 20:54:29 +08:00
13 lines
353 B
Python
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: ...
|