Jens...

What's the point of the vartype check here:

if $iOutput=$iResult and vartype($iResult)=2

My results are failing because the vartype=3

For example:

 Quote:

Running Test 1...
Expecting 46
Recieved 46
Vartype 3
Done

Running Test 2...
Expecting 650
Recieved 650
Vartype 3
Done

Running Test 3...
Expecting 4690
Recieved 4690
Vartype 3
Done

Running Test 4...
Expecting 75
Recieved 75
Vartype 3
Done

Running Test 5...
Expecting 434
Recieved 434
Vartype 3
Done

Running Test 6...
Expecting 1960
Recieved 1960
Vartype 3
Done

Your solution failed 6 of 6 tests.


Edited by Allen (2007-07-23 07:06 AM)