evgen4ik, если копейки ненужны toFixed(0)
<!DOCTYPE HTML>
<html>
<head>
<title></title>
</head>
<body>
<div class="pi-price-uah">$23.95</div>
<script type="text/javascript">
var els = document.getElementsByTagName('div');
for (var i = 0; i < els.length; i++) {
if (els[i].className == 'pi-price-uah') {
els[i].innerHTML = els[i].innerHTML.replace(/\$([\d.]+)/, function(all, price) {
return (parseFloat(price) * 32).toFixed(2) + ' RUR';
});
}
}
</script>
</body>
</html>