Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PercentCorrect - Wierd variable ???

Status
Not open for further replies.

simonWMC

Programmer
Dec 2, 2002
180
0
0
GB
Hello all.

I have used the system variables :

FirstTryCorrect, FirstTryWrong and PercentCorrect

to track both a pre and post course test. The pre test works fine. However after the post test the PercentCorrect variable gets confused. For example if they scored 3 out of 10 it may come back and say they scored 35 % ???

I have initalized both FirstTryCorrect, FirstTryWrong and have tried initalizing PercentCorrect, but it makes no difference.

Anyone have any ideas ???

thanx
 
I have sorted it.

I had forgotten to initalize the system variables TotalCorrect and TotalWrong

cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top