It's hard to say anything based on small differences.
Here are the first two tests, each done twice. Running this, with debug off, I get different results for the two tests. The first time the 1.0 test is clearly faster. The second time the 1.0 and 1 results are nearly identical.
Here are the first two tests, each done twice. Running this, with debug off, I get different results for the two tests. The first time the 1.0 test is clearly faster. The second time the 1.0 and 1 results are nearly identical.
;Conditional Checking (faster to test a float versus a float) n#=0.0 start=MilliSecs() For n=1 To 10000000 If n>1.0 EndIf Next Print "Testing 1.0 : "+(MilliSecs()-start) n#=0.0 start=MilliSecs() For n=1 To 10000000 If n>1 EndIf Next Print "Testing 1 : "+(MilliSecs()-start) ;Conditional Checking (faster to test a float versus a float) n#=0.0 start=MilliSecs() For n=1 To 10000000 If n>1.0 EndIf Next Print "Testing 1.0 : "+(MilliSecs()-start) n#=0.0 start=MilliSecs() For n=1 To 10000000 If n>1 EndIf Next Print "Testing 1 : "+(MilliSecs()-start) WaitKey