Files
wren/test/number/to_string.wren
T

6 lines
258 B
Plaintext
Raw Normal View History

2014-01-05 12:27:12 -08:00
IO.print(123.toString == "123") // expect: true
2015-01-09 20:06:50 +13:00
IO.print((-123).toString == "-123") // expect: true
IO.print((-0).toString == "-0") // expect: true
2014-01-05 12:27:12 -08:00
IO.print(12.34.toString == "12.34") // expect: true
2015-01-09 20:06:50 +13:00
IO.print((-0.0001).toString == "-0.0001") // expect: true