if (isFormSent()) {
// Replace commata with decimal dot
- setRequestPostElement('doubler_charge', convertCommaToDot((postRequestElement('doubler_charge') / 100)));
- setRequestPostElement('doubler_ref' , convertCommaToDot((postRequestElement('doubler_ref') / 100)));
+ setRequestPostElement('doubler_charge', convertCommaToDot(postRequestElement('doubler_charge')) / 100);
+ setRequestPostElement('doubler_ref' , convertCommaToDot(postRequestElement('doubler_ref')) / 100);
setRequestPostElement('doubler_min' , convertCommaToDot(postRequestElement('doubler_min')));
setRequestPostElement('doubler_max' , convertCommaToDot(postRequestElement('doubler_max')));
setRequestPostElement('doubler_left' , convertCommaToDot(postRequestElement('doubler_left')));