float/double ranges

This commit is contained in:
Alex Tkachman
2012-01-06 15:55:27 +02:00
parent eba343dd84
commit dba41c2e88
12 changed files with 453 additions and 47 deletions
@@ -0,0 +1,13 @@
fun box() : String {
System.out?.println(System.out?.println(10.flt..11.flt))
for(f in 10.flt..11.flt step 0.3.flt) {
System.out?.println(f)
}
for(f in 10.dbl..11.dbl step 0.3.dbl) {
System.out?.println(f)
}
return "OK"
}