rustling-ontology
rustling-ontology copied to clipboard
Wrong computation in resolution of decimal numbers > 0 && < 1
Parsing Error
Version
v0.17.6
Language
all
Parser input
"zéro virgule quatre-vingt-cinq
Parser output
+----+--------+---+--------------------------------+--------------------------------+
| ix | log(p) | p | text | value |
+====+========+===+================================+================================+
| 0 | 0 | 1 | zéro virgule quatre-vingt-cinq | Float(FloatOutput(0.84999996)) |
+----+--------+---+--------------------------------+--------------------------------+
Parser expected output (Optional)
+----+--------+---+--------------------------------+--------------------------------+
| ix | log(p) | p | text | value |
+====+========+===+================================+================================+
| 0 | 0 | 1 | zéro virgule quatre-vingt-cinq | Float(FloatOutput(0.85)) |
+----+--------+---+--------------------------------+--------------------------------+
@kali or @hdlj , would be great to investigate this with your help!