Exponential notation
DataStax Enterprise supports exponential notation. This example shows the use of exponential notation in the double and float values.
CREATE TABLE cycling.team_race_time (
id text PRIMARY KEY,
value_double double,
value_float float
);
INSERT INTO cycling.team_race_time (
id, value_float, value_double
) VALUES (
'Rabobank-Liv Woman Cycling Team', 2.6034345E+38, 2.6034345E+38
);
SELECT * FROM cycling.team_race_time;
Output:
id | value_double | value_float
---------------------------------+--------------+-------------
Rabobank-Liv Woman Cycling Team | 2.6034e+38 | 2.6034e+38
(1 rows)
id | value_double | value_float
---------------------------------+--------------+-------------
Rabobank-Liv Woman Cycling Team | 2.6034e+38 | 2.6034e+38
(1 rows)