November 19, 200718 yr 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..
Create an account or sign in to comment