Except you will suffer from the going-via-Double-issue when using JSONEncoder/JSONDecoder:
let d = Decimal(rawValue: "3.133")!
print(d) // 3.132999999999999488
Except you will suffer from the going-via-Double-issue when using JSONEncoder/JSONDecoder:
let d = Decimal(rawValue: "3.133")!
print(d) // 3.132999999999999488