Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,23 @@
|
|||
put 0.23
|
||||
-- 0.2300
|
||||
|
||||
-- activate higher printing precision
|
||||
the floatPrecision = 8
|
||||
|
||||
put -.23
|
||||
-- -0.23000000
|
||||
|
||||
put 9.00719925474099e15
|
||||
-- 9.00719925474099e15
|
||||
|
||||
-- result is NOT a float
|
||||
put 2/3
|
||||
-- 0
|
||||
|
||||
-- casting integer to float
|
||||
put float(2)/3
|
||||
-- 0.66666667
|
||||
|
||||
-- casting string to float
|
||||
put float("0.23")
|
||||
-- 0.23000000
|
||||
Loading…
Add table
Add a link
Reference in a new issue