CLICKHOUSEDOCS-496: fix.

This commit is contained in:
Sergei Shtykov 2020-01-17 09:50:31 +03:00
parent 0f2511678c
commit e6d9dc79f6
2 changed files with 4 additions and 4 deletions

View File

@ -96,8 +96,8 @@ Using banker's rounding, you can reduce the effect of rounding numbers on the re
For example, sum numbers 1.5, 2.5, 3.5, 4.5 with different rounding:
- No rounding: 1.5 + 2.5 + 3.5 + 4.5 = 12
- Banker's rounding: 2 + 2 + 4 + 4 = 12
- No rounding: 1.5 + 2.5 + 3.5 + 4.5 = 12.
- Banker's rounding: 2 + 2 + 4 + 4 = 12.
- Rounding to the nearest integer: 2 + 3 + 4 + 5 = 14.
**Syntax**

View File

@ -93,8 +93,8 @@ round(3.65, 1) = 3.6
Пример суммирования чисел 1.5, 2.5, 3.5 и 4.5 с различным округлением:
- Без округления: 1.5 + 2.5 + 3.5 + 4.5 = 12
- Банковское округление: 2 + 2 + 4 + 4 = 12
- Без округления: 1.5 + 2.5 + 3.5 + 4.5 = 12.
- Банковское округление: 2 + 2 + 4 + 4 = 12.
- Округление до ближайшего целого: 2 + 3 + 4 + 5 = 14.