Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in parsing money with billion + small number at the end #125

Open
niedakh opened this issue Aug 8, 2018 · 1 comment
Open

Error in parsing money with billion + small number at the end #125

niedakh opened this issue Aug 8, 2018 · 1 comment
Assignees

Comments

@niedakh
Copy link

niedakh commented Aug 8, 2018

Parsing Error

Version

commit a24b00e (HEAD -> develop, tag: 0.17.4, origin/develop, origin/HEAD)

Language

en

Parser input

Okay, um, your total is one billion three dollars and that is it?

Parser output

+----+-------------+-----------+-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------+
| ix | log(p)      | p         | text                                                              | value                                                                                         |
+====+=============+===========+===================================================================+===============================================================================================+
| 0  | -0.11813116 | 0.8885795 | ________________________one billion three dollars________________ | AmountOfMoney(AmountOfMoneyOutput { value: 1000000000.0, precision: Exact, unit: Some("$") }) |
+----+-------------+-----------+-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------+

Parser expected output (Optional)

+----+-------------+-----------+-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------+
| ix | log(p)      | p         | text                                                              | value                                                                                         |
+====+=============+===========+===================================================================+===============================================================================================+
| 0  | -0.11813116 | 0.8885795 | ________________________one billion three dollars________________ | AmountOfMoney(AmountOfMoneyOutput { value: 1000000003.0, precision: Exact, unit: Some("$") }) |
+----+-------------+-----------+-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------+
@rosastern rosastern added the fix label Oct 23, 2018
@rosastern rosastern self-assigned this Oct 23, 2018
@rosastern rosastern added the bug label Mar 28, 2019
@rosastern rosastern removed the fix label Sep 27, 2019
@rosastern
Copy link
Collaborator

To do: check together with #170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants