How do i make my ranking

Report
-
ac3mark
Posts
13031
Registration date
Monday June 3, 2013
Status
Moderator
Last seen
October 11, 2019
-
how do i make my ranking result be 1st, 2nd, 3rd instead of 1. 2. 3

4 replies

Posts
13031
Registration date
Monday June 3, 2013
Status
Moderator
Last seen
October 11, 2019
1576
I really have read it......

Change rank into a string and append the string with a case, or if statement:

if myvar =3 then myvar=myvar+"rd"

or Select case myvar;

case 1:
myvar = myvar + "st"


Have fun! You gave us no details regarding what protocol, or languge. Take the example and run with it, as we are not going to change our answer based on NEW DETAILS!

Either you understand , or you don't! Either you can or you can't!

"There is no try, only do!"


Have FUN!