You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to be able to display a value of type Decimal in a table, without displaying the decimal point or digits after it. Eg: Decimal(23.92) should display simply as '24' in the table. This helps with several investing reports, since decimal places don't matter, and the display is cleaner without them.
The text was updated successfully, but these errors were encountered:
I tried inserting Decimal(23.92).to_integral(), but that ended up displaying as '24.00'
How can I get rid of the '.00'? I'd rather not do int() since I'd prefer to respect the locale settings (like commas) for everything else
Looks like fava/core/number.py calls Precision in beancount.core.display_context, but I'm not seeing an existing way to specify the number of decimals displayed.
We need to be able to display a value of type Decimal in a table, without displaying the decimal point or digits after it. Eg: Decimal(23.92) should display simply as '24' in the table. This helps with several investing reports, since decimal places don't matter, and the display is cleaner without them.
The text was updated successfully, but these errors were encountered: