How do i make my ranking [Closed]

Report
-
 Blocked Profile -
how do i make my ranking result be 1st, 2nd, 3rd instead of 1. 2. 3

1 reply

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!

1
Thank you

A few words of thanks would be greatly appreciated. Add comment

CCM 4135 users have said thank you to us this month