Display just two numbers after "."

dlaimdlaim Member Posts: 110

Hi everybody

i have a real game score attribute , and i want to display it with two numbers after point .

ForExample ::

game.score = 4.8945654

i want to change it to ==> 4.89

How can i do that ?

Thank's ..

Comments

Sign In or Register to comment.