Update float.md

This commit is contained in:
Shaun Struwig 2024-06-14 16:06:40 +02:00 committed by GitHub
parent 36a575e124
commit ad103b9db8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ CREATE TABLE IF NOT EXISTS float_vs_decimal
Engine=MergeTree
ORDER BY tuple();
# Generate 1 000 000 random number with 2 decimal places and store them as a float and as a decimal
# Generate 1 000 000 random numbers with 2 decimal places and store them as a float and as a decimal
INSERT INTO float_vs_decimal SELECT round(randCanonical(), 3) AS res, res FROM system.numbers LIMIT 1000000;
```
```