1b.app
Link copied -

rounding

Возникают сложности с округлением?
Есть предложения по функционалу?
Вы всегда можете создать топик на нашем форуме и там описать поставленную задачу! Создать топик на форуме
Good afternoon!
In the order, it is required to round kopecks in accordance with the NBU Resolution No. 25 of March 15, 2018:
"Rounding of the total amounts of cash settlements in the check for goods (works, services) is carried out according to the following rules: the amount that ends from 1 to 4 kopecks is rounded down to the nearest amount that ends with 0 kopecks; the amount that ends from 5 to 9 kopecks, rounded up to the nearest amount ending in 0 kopecks.
How can this be implemented?
Original question is available on version: ru

Answers:

Elena, good afternoon! There is a price rounding setting where you can set rounding to hundredths. To connect, go to - system settings - other - recalculation of prices and availability, enter price rounding in the search: https://i.imgur.com/85lr08P.png , and then "add setting" https://i.imgur.com/ y0TQhgk.png
Settings example: https://i.imgur.com/Z8MHV1L.png
21.09.2020, 12:39
Original comment available on version: ru

Not working https://prnt.sc/ul0ym3
It is necessary that the final part of the process be rounded.
21.09.2020, 13:25
Original comment available on version: ru


Torbin Elena
Client wrote:
Not working https://prnt.sc/ul0ym3 It is necessary that the final part of the process be rounded.

On the screen in the final part of the penny. Specify how you specified rounding in the settings and what does not work correctly?
21.09.2020, 13:29
Original comment available on version: ru


Stasyuk Julia Vladimirovna Administrator wrote:
On the screen in the final part of the penny. Specify how you specified rounding in the settings and what does not work correctly?

Our settings https://prnt.sc/ul24h9
IMPORTANT that the amount ending in 1 to 4 kopecks is rounded down to the nearest amount ending in 0 kopecks; the amount ending in 5 to 9 kopecks was rounded up to the nearest amount ending in 0 kopecks.
In the example from the previous screen, you need the amount to be rounded up to 30 kopecks.
21.09.2020, 14:14
Original comment available on version: ru

We kindly ask you to report the solution to this problem !!!
23.09.2020, 08:55
Original comment available on version: ru


Torbin Elena
Client wrote:
Stasyuk Julia Vladimirovna Administrator wrote / a: On the screen in the final part of the penny. Specify how you indicated rounding in the setting and what works wrong? copy; the amount ending in 5 to 9 kopecks was rounded up to the nearest amount ending in 0 kopecks. In the example from the previous screen, you need the amount to be rounded up to 30 kopecks.

Elena, in this case, specify rounding to tenths in the setting https://i.imgur.com/3maBcyq.png. If I understand correctly, this will solve the problem.
23.09.2020, 13:44
Original comment available on version: ru

Yes, everything worked out!
Thank you)
23.09.2020, 16:22
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