ClickHouse/dbms/tests/queries/0_stateless/01013_hex_float.sql
millb bd29efdbbe New hex function release
Bugs and tests fixed
2019-09-23 18:47:34 +03:00

11 lines
395 B
SQL

SELECT hex(1.0);
SELECT hex(101.);
SELECT hex(1e+18);
SELECT hex(1e-20);
SELECT hex(1e+100);
SELECT hex(0.000578);
SELECT hex(-123.978);
SELECT hex(toFloat32(99.67));
SELECT hex(toFloat32(number)) FROM numbers(200, 2);
SELECT hex(toFloat64(number)) FROM numbers(202, 2);