bassniko Posted March 21, 2014 Share Posted March 21, 2014 Prestashop 1.6, I have two currencies - USD and BYR (1 USD = ~9 800 BYR) When I do this: classes/Tools.php public static function ps_round($value, $precision = 0) { //some code return round($value, -2); } It round BYR price from (for example) 420 873 BYR to 420 900 and its good! But it round and USD too ((( ... and its bad! I need round only BYR! Not USD! Can you help me? (And sorry for my English )) Link to comment Share on other sites More sharing options...
dferbas Posted May 9, 2016 Share Posted May 9, 2016 Anything new with this issue? I am also interested, because finally, we use an accounting system, which rounds differently for different currencies and I would like to reflect this in Prestashop. Link to comment Share on other sites More sharing options...
Recommended Posts
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