From eb0983facd3da700d539382c1356f8e41c54c330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 10 Mar 2021 08:59:40 +0100 Subject: [PATCH] Wording --- Documentation/GoodPracticesForDesigningRecordTypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/GoodPracticesForDesigningRecordTypes.md b/Documentation/GoodPracticesForDesigningRecordTypes.md index d13a3dbff..c8daaaa6d 100644 --- a/Documentation/GoodPracticesForDesigningRecordTypes.md +++ b/Documentation/GoodPracticesForDesigningRecordTypes.md @@ -170,7 +170,7 @@ struct Place: Codable { } ``` -Such encapsulation of raw columns can happen in many other cases. A second example? The record below exposes a `price: Decimal` ($12.00), and hides the integer column that stores a quantity of cents (1200) (this allows SQLite to compute exact sums of prices): +Such encapsulation of raw columns can happen in many other cases. A second example? The record below exposes a `price: Decimal` ($12.00), and hides the integer column that stores a quantity of cents (1200). Integer columns allow SQLite to compute exact sums of prices when needed: ```swift struct Product: Codable {