tests/basic/floats.sp
author David Anderson <dvander@alliedmods.net>
Sat Dec 22 16:21:43 2012 -0800 (2012-12-22)
changeset 225 e89c6980e8ff
parent 215 b8f650a441a5
child 263 ba85a47ee414
permissions -rw-r--r--
Add ref-expr test.
     1 native PrintFloat(float:num);
     2 
     3 public main()
     4 {
     5    new float:f = 12.0;
     6    for (new i = 0; i < 100; i = i + 1)
     7       f = f + 0.5 + i;
     8    PrintFloat(f);
     9 }