1b.app
Link copied -

Rounding in variables

Answers:

Hello, use {|$e.sum[#2]|} where 2 is the number of decimal characters
04.11.2020, 18:28
Original comment available on version: ru

so that there are no signs after the comma, you need to write {|$e.sum[#0]|}?
Error
05.11.2020, 13:22
Original comment available on version: ru

You made a syntax error in the document template. This variable works for me. Check the validity of the variable through the source code of the document or drop a link to your template here
05.11.2020, 18:21
Original comment available on version: ru

It's not a document, it's an action Send email notification
Now it is written like this - everything works.
If you change it to {|$e.sum[#0]|} - an error
05.11.2020, 22:26
Original comment available on version: ru

This functionality is only available in document templates
06.11.2020, 11:10
Original comment available on version: ru

then fix the problem. Why do different variables have different rounding if there is a setting?
10.11.2020, 13:11
Original comment available on version: ru

Try also using {|$e.sum|number_format:2:".":""|}
10.11.2020, 17:33
Original comment available on version: ru

There is no error for this variable, it is impossible to understand whether it rounds - it looks like it, but why did 00 after the decimal point appear?
It didn't happen -
12.11.2020, 13:50
Original comment available on version: ru

because number_format:2 , 2 means - 2 decimal places. You can put any number there.
12.11.2020, 14:41
Original comment available on version: ru

What about the rest of the variables? How to remove zeros from them?
17.11.2020, 11:46
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