Have option in [email protected] for limiting the decimals #193
Replies: 2 comments
-
@Kellsen |
Beta Was this translation helpful? Give feedback.
0 replies
-
@clefebvre |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What I first thought was a bug turned out to be a feature: that the results in smallcalc are always calculated to decimals even when they (imo) shouldn't.
I.e.:
gives
Or
results in
This clutters up the result and is confusing when you expect a number with one, maybe two decimal places and when it obstructs the first digit so you won't see the entire result.
I for one won't be doing any complicated math, more easy additions or multiplications. So for me it'd be sufficient to limit the result to be rounded to two or three or even no decimal places.
If there is already a way to adjust that in the math.js script, apologies but please let me know.
Beta Was this translation helpful? Give feedback.
All reactions