-
Notifications
You must be signed in to change notification settings - Fork 6
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
thousand_spaces #26
Comments
This is intentional, see for example https://www.bipm.org/en/publications/si-brochure section 5.4.4: "However, when there are only four digits before or after the decimal marker, it is customary not to use a space to isolate a single digit. The practice of grouping digits in this way is a matter of choice..." However that does bring up the question of what happens when one more decimal place is added, should it be I really appreciate your comments |
Okay - also a interesting source. I'm following ISO 80000-1 section 7.3.1. |
For the purpose of parsing the output, it might prove useful to add an option to output without typographical separators (if not already the case), or to use |
setting "uc.gummy.thousand_spaces = False" does turn off the separators, though there is currently no option to change the separators. The separators are spaces in unicode output and thin spaces in html and latex output. |
Kudos for the thin space output in html and latex!! 🏅 |
As far as I know standard conform spacing is:
4.899 7 kΩ ± 1.1 Ω
4.899 68 kΩ ± 0.1 Ω
4.899 681 kΩ ± 0.01 Ω
Currently it is in the first case like this:
4.8997 kΩ ± 1.1 Ω
so the first should be: "nr < 4 and nl < 4: " and "if nr >= 4: " and " if nl >= 4:".
Modul is ummy.py
elif self.thousand_spaces:
I love your great work with MetrolPy!
I'm sorry, for my bad contribution quality - I'm a rooky in this issue. But I'll soon learn how to to proper issues, push, pulls and what ever exist to contribute good way.
The text was updated successfully, but these errors were encountered: