Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 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