Active
Project:
Ubercart Payment Method Adjustments
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Dec 2010 at 19:16 UTC
Updated:
20 Sep 2012 at 20:21 UTC
The module doesn't work as espected when you want to use a number with decimals separated by , and with %. It rounds the number to an integer.
Example: 3,5% --> 3%
I've fixed this inserting the folowing code in line 188, after " $ret['description'] = t('@name fee', array('@name' => $adjustment_data['name']));"
$adjustment = str_replace(variable_get('uc_currency_dec', '.'), ".", $adjustment);
Comments
Comment #1
wishow commentedOh... thanks a lot!...
I was dying due to this problem... It works for me...!