Files
wren/test/core/number/to_string.wren
T

6 lines
278 B
Plaintext
Raw Normal View History

2015-09-15 07:46:09 -07:00
System.print(123.toString == "123") // expect: true
System.print((-123).toString == "-123") // expect: true
System.print((-0).toString == "-0") // expect: true
System.print(12.34.toString == "12.34") // expect: true
System.print((-0.0001).toString == "-0.0001") // expect: true