J
Jeff
hey guys
If i wish to show a decimal on a number, i can do this
v2_score = formatnumber(v2_score1, 0)
but how would i only show the 2 decimal places IF there is an actual
remainder after the division?
here is the script and stuff
using sql db server
v2_score1 = v_score / v_played
v2_score = formatnumber(v2_score1, 0)
v_score is an over all total in the db
v_played is how many matches were played.
any help please.... and thank you??
If i wish to show a decimal on a number, i can do this
v2_score = formatnumber(v2_score1, 0)
but how would i only show the 2 decimal places IF there is an actual
remainder after the division?
here is the script and stuff
using sql db server
v2_score1 = v_score / v_played
v2_score = formatnumber(v2_score1, 0)
v_score is an over all total in the db
v_played is how many matches were played.
any help please.... and thank you??