1b.app
Link copied -

Add hundredths of .00 to prices in documents

Please tell me how to display numbers with hundredths .00 in documents
There is a setting in business process tables, but I did not find it for documents.
Original question is available on version: ru

Answers:

You can add |number_format:2 to any variable in document layout
For example,
{|$sum|number_format:2|}
22.09.2020, 17:45
Как со мной связаться - никак :)
Задавайте вопросы на форуме публично - и я отвечу.
Подробнее - https://1b.app/ru/user/11/
Original comment available on version: ru

When you have already dragged the variable into the template, edit the variable.
For example variable {ordersumwithtax} - use like this {ordersumwithtax[#2]}
respectively specifying another number [#3] you can get a different number of decimal places
22.09.2020, 17:46
Original comment available on version: ru

Thanks It works!
In the rows of the table I wrote {row:product_productprice[#2]} and {row:product_sum[#2]}
And then the totals {ordersumwithtax} are displayed themselves with .00
22.09.2020, 19:20
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment