BCpRIA8Smh Posted November 19, 2007 Posted November 19, 2007 I'm using the round function to round my $ figures to nicer numbers.. After I do my exchange rate calculation, say $10cdn to usd, i get some funny number like $9.53usd for example. This isn't nice to have an e-commerce site, so what i've done in the past (when using excel i used the roundup function i think) and rounded my value to the nearest 0.25 cents.. So, the $9.53 would be $9.75 instead.. Right now I'm using ->round (calculated number goes here after exchange rate; 1). I tried all sorts instead of 1 but I didn't get the desired result.. I'd be happy even if rounded up or down to nearest 0.25, roundup isn't that important..
Recommended Posts
This topic is 6274 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now