Skip to content

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"`.

Where the book teaches it

Related terms

SQLModel