Вход на сайт
sql: rounded to x decimal places
NEW 10.04.06 14:26
такая ситуация:
в одном из столбцов в базе данных находятся значения с плавающей точкой:
18,99992
0,1234567
-124,876565
как мне в sql-запросе округлить эти данные до 2 значений после запятой?
19,00
0,12
-124,88
Спасибо.
в одном из столбцов в базе данных находятся значения с плавающей точкой:
18,99992
0,1234567
-124,876565
как мне в sql-запросе округлить эти данные до 2 значений после запятой?
19,00
0,12
-124,88
Спасибо.
NEW 10.04.06 14:56
в ответ digital_pilot 10.04.06 14:40
- Just one thing, Dude. D'ya have to use s'many cuss words?
The Dude looks at The Stranger as if just now noticing how out of place the cowpoke is.
- The fuck are you talking about?
The Stranger chuckles indulgently and pushes off from the bar.
- Okay, have it your way.
(c)
LOL
The Dude looks at The Stranger as if just now noticing how out of place the cowpoke is.
- The fuck are you talking about?
The Stranger chuckles indulgently and pushes off from the bar.
- Okay, have it your way.
(c)
LOL