Re:Ask HN: Do you use JSON Schema? Help us shape its future ...
by throwawaymaths on Tuesday January 31, 2023 @10:58PM
(#34606172)
0.3 is not the same thing as 3/10 in ieee754, neither is 0.1 the same as 1/10.
For example, given multipleOf: 0.3, and an input of 0.9, 0.9/0.3 is 3, which is an integer, so would be accepted. A value of 0.8 would be rejected.