Displaying coins in Score
![Hektic](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I was wondering how you can display .25 cents in a score, I am creating a game where you collect change and it adds it to your score. Quarter = .25 cents, dime = .10 and so on. But I cant figure out how to have it display as change. I have the "$"..game.score set, but it wont let me put a decimal point in there, would like the score to keep track of the money. Thanks for your help as always
Hektic
Hektic
Comments
I have the score set as real, each coin is worth its amount (ie. 25=.25, 50=.50, 10=.10). But when the score is displayed in the game it just shows $2.1 instead of $2.10. Can anyone help me?
What I am doing is this:
when dime collides with piggybank
change attribute game.score to game.score+.10
obviously in the display score its just
Display text game.score
Everything else works fine, if I have $$+.01 it shows $2.01
but if I have $$+.10 it only shows $2.1
I dont think I have to do the floor to extract that zero but if I do, then I will figure it out by watching the video just thought there would be an easier way to display that darn little 0. Thank you for your help.