aeat.core.decimal package¶
Canonical Decimal helpers for the AEAT domain.
Public surface¶
format_decimal()— render aDecimalin fixed-point notation, with optional normalization andNonehandling.coerce_decimal()— parse any raw input toDecimalwith a configurable fallback default.coerce_decimal_strict()— same coercion but raises on unparseable input, for callers that must record the parse-failure type.normalize_decimal_separators()— convert comma-decimal text to the dot-decimal form accepted byDecimal.