diff --git a/docs/advanced/decimal.md b/docs/advanced/decimal.md index 465fe8bea8..35656c3ce4 100644 --- a/docs/advanced/decimal.md +++ b/docs/advanced/decimal.md @@ -31,7 +31,7 @@ For the database, **SQLModel** will use [SQLAlchemy's `DECIMAL` type](https://do ## Decimals in SQLModel -Let's say that each hero in the database will have an amount of money. We could make that field a `Decimal` type using the `condecimal()` function: +Let's say that each hero in the database will have an amount of money. We could make that field a `Decimal` type and set the number of digits and decimal places in the `Field()` function: {* ./docs_src/advanced/decimal/tutorial001_py310.py ln[1:11] hl[11] *}