PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Change number of places after the decimal? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Change number of places after the decimal?


#5263
asscore (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Change number of places after the decimal? 1 Year ago Karma: 0  
Hello.

By default the google currency converter displays 4 places after the decimal (ten-thousanths).

How could I hack the module so that it only displayed to hundreths? (two places after the decimal).

so instead of

1 USD = 7.7265 ZAR

I would get

1 USD = 7.72 ZAR

Thanks!
 
  The administrator has disabled public write access.



      Topics Author Date
    thread link
Change number of places after the decimal?
asscore 2012/05/01 10:52
    thread link
thread linkthread link Re:Change number of places after the decimal?
kksou 2012/05/02 00:02
    thread link
thread linkthread linkthread link Re:Change number of places after the decimal?
asscore 2012/05/02 10:47
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Links - Classes - Social Business - BPM - Web - General
Copyright © 2006-2013. kksou.com. All Rights Reserved