File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
3.11/concepts/data-structure/documents
3.12/concepts/data-structure/documents
3.13/concepts/data-structure/documents Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -348,6 +348,8 @@ this restriction.
348348Attributes with numeric values always have the type ` "number" ` , even if they are
349349whole numbers (and internally use an ` integer ` type). If you want to restrict an
350350attribute to integer values, use ` "type": "number" ` together with ` "multipleOf": 1 ` .
351+ Using ` multipleOf ` with decimal places is not recommended because it doesn't
352+ work reliably due to floating-point inaccuracy.
351353
352354{{< security >}}
353355Remote schemas are not supported for security reasons.
Original file line number Diff line number Diff line change @@ -348,6 +348,8 @@ this restriction.
348348Attributes with numeric values always have the type ` "number" ` , even if they are
349349whole numbers (and internally use an ` integer ` type). If you want to restrict an
350350attribute to integer values, use ` "type": "number" ` together with ` "multipleOf": 1 ` .
351+ Using ` multipleOf ` with decimal places is not recommended because it doesn't
352+ work reliably due to floating-point inaccuracy.
351353
352354{{< security >}}
353355Remote schemas are not supported for security reasons.
Original file line number Diff line number Diff line change @@ -348,6 +348,8 @@ this restriction.
348348Attributes with numeric values always have the type ` "number" ` , even if they are
349349whole numbers (and internally use an ` integer ` type). If you want to restrict an
350350attribute to integer values, use ` "type": "number" ` together with ` "multipleOf": 1 ` .
351+ Using ` multipleOf ` with decimal places is not recommended because it doesn't
352+ work reliably due to floating-point inaccuracy.
351353
352354{{< security >}}
353355Remote schemas are not supported for security reasons.
You can’t perform that action at this time.
0 commit comments