mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 10:04:06 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
9 lines
349 B
SQL
9 lines
349 B
SQL
SELECT hex(toDecimal32(1.0, 2));
|
|
SELECT hex(toDecimal32(1., 2));
|
|
SELECT hex(toDecimal32(0.000578, 6));
|
|
SELECT hex(toDecimal64(-123.978, 3));
|
|
SELECT hex(toDecimal128(99.67, 2));
|
|
SELECT hex(toDecimal32(number, 3)) FROM numbers(200, 2);
|
|
SELECT hex(toDecimal64(number, 5)) FROM numbers(202, 2);
|
|
SELECT hex(toDecimal128(number, 9)) FROM numbers(120, 2);
|