I'm also trying to remove decimals, I've tried a code that was linked here (see below) which has worked mostly, however it turns 11.90 into 11.9 and so on. I don't want to delete all the zeros. Can anyone help?
<script>
(function() {
var prices = document.getElementsByClassName('sqs-money-native');
var thisPrice;
var i, I;
for (i=0, I=prices.length; i<I; i++) {
thisPrice = prices[i];
thisPrice.innerHTML = thisPrice.innerHTML.replace(/(\.[0-9]*?)0+$/, "$1").replace(/\.$/, ""); //http://stackoverflow.com/questions/1015402/1015434#1015434
}
})();
</script>