How to work with decimals discreetly?

Hello friends, is there a way to allow users to type in decimal values with many decimal digits, but only show a fixed amount of decimals in other places of the app without compromising the calculation precision?

Excel for example always calculates with ALL decimals that you give it, but it allows you to tweak how many decimals you want to see at any given time.

In my use case there are times i might need 5 decimals for example, but if i set all my numeric columns to allow for 5 decimals it really phucks up the column width of those columns, and when displaying those values in workflows there is what i call โ€œnumeric column type algebraโ€, that, well, means that whenever i use those columns in operations, the result is going to have the same amount of decimal digits. And that means i have to choose where to drop the decimals in order to display a result in a more aesthetic way.

Bonus: Explained with parrots

If parrots were decimal digits, i want users to type in:

3X_0_d_0df5f0d5d607c35aae60db2620b56912358eb343.gif

But only display:
3X_d_2_d224032a5ff51b64c98e59586d9b4a82ee64c3ea.gif

4 7 486
7 REPLIES 7
Top Labels in this Space