Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
REFACTORY: python 3.8 e 3.9 compatibility, remove unsupported operator
  • Loading branch information
Roberto Godinho committed Dec 20, 2023
1 parent a95e0a1 commit 9369ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynfe/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def arredondar_valor(value: float, decimal_places: int, suprimir_zeros: bool = F


def ajustar_valor(
value: float | None, decimal_places: int = 2, min_decimal_places: int = 2, tipo: Literal["ROUND", "TRUNC"] = "ROUND", decimal_separator: str = "."
value: float, decimal_places: int = 2, min_decimal_places: int = 2, tipo: Literal["ROUND", "TRUNC"] = "ROUND", decimal_separator: str = "."
):
value = 0 if value is None else value

Expand Down

0 comments on commit 9369ce7

Please sign in to comment.