// retoor <retoor@molodetz.nl>
|
|
|
|
System.print("42".toNum) // expect: 42
|
|
System.print("3.14".toNum) // expect: 3.14
|
|
System.print("-7".toNum) // expect: -7
|
|
System.print("abc".toNum) // expect: null
|
|
System.print("".toNum) // expect: null
|