S
S
Sergey Vinogradov2017-02-21 16:57:05
1C-Bitrix
Sergey Vinogradov, 2017-02-21 16:57:05

Rounding grams in the 1s-Bitrkisa trade catalog?

Hello!
Now I have a weight in grams in the trade catalog for the goods. But, it looks like: 8805.0314465409 g Tell me
how you can round up to 8805? In fact, you need the same thing as rounding prices, only for weight. I can't find a solution at all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-02-21
@gangstarcj

php.net/manual/ru/function.round.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question