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

Feature Request: Parse value in respect to delimiters in configs #31

Closed
eppfel opened this issue Nov 19, 2017 · 2 comments
Closed

Feature Request: Parse value in respect to delimiters in configs #31

eppfel opened this issue Nov 19, 2017 · 2 comments

Comments

@eppfel
Copy link

eppfel commented Nov 19, 2017

Awesome workflow!

It's neat, that you can set different delimiters for the results, but I expected the configurations also to affect the input.

qty = float(''.join(qty))

I unsuccessfully tried using the Formatter on that value, but I don't know much about python. Guess it would need some conversion.

A nice solution would parse the number no matter what:

23.34 => 23.34
23,34 => 23.34
12.123,345 => 12123.345
12,123.345 => 12123.345

The only problem would be three decimal places:
23,345 => 23.345 / 23345.00 ???

And this does not considers all cases.

So using the configuration would be most convenient, I guess.

@deanishe
Copy link
Owner

Added in v3.3.

Numbers will now be parsed in accordance with the separators you've set in the configuration sheet.

@eppfel
Copy link
Author

eppfel commented Nov 21, 2017

Works like a charm 👍

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