delivaly total remove .00

yamuyamu

No avatar

2006-08-02 11:03

i use return sprintf( '%d', $fPrice ); in core/other.php(for japanese).
i can't cliant vew remove .00 on delivery cost and total.
admin can vew .00 off.
so,anyone have nice idea?
thank you.

larryonov

No avatar

2006-08-02 16:22

Today Im not sure, but I did this:
in js/standart.js you have this 2 rows:


var sMinus f.slice0f.length-) + "." f.slicef.length-2f.length );
var 
poprawnyFloat = /^-?[0-9]{1,}[.]{1}[0-9]{1,}$/i;



change it to this:


var sMinus f.slice0f.length-);
var 
poprawnyFloat = /^-?[0-9]{1,}$/i;

yamuyamu

No avatar

2006-08-03 05:30

thank s!!
i didi it.
now more question in new topics.

Back to top
about us | contact