This content has been marked as final. Show 4 replies
lvPercentage = integer(float(gvResult)/gvPotentialMark)
put string(lvPercentage) & "%" into field "accuracy"
no luck... apparently 6/100 = 2 ?!?!?!
I cant see why this isnt working !
I would expect that
6/100 = 0
However, as Sean mentioned, I would expect
6/100.0 = 0.0600
(Note that in the second example at least one number is a float, whereas in the first example all the numbers were integers)
Try Sean's code again -
thanks guys. got it working!! Great help!!!