mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
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);
|