Glossary: Building APIs with FastAPI
Decimal
Python's exact number type for money, which avoids the small errors floats can have. It is stored in a `Numeric` column and sent in JSON as a string such as `"55.00"`.
Glossary: Building APIs with FastAPI
Python's exact number type for money, which avoids the small errors floats can have. It is stored in a `Numeric` column and sent in JSON as a string such as `"55.00"`.