I have searched and tried several times but still can't get it. How do I prepend "$" and round the value to the nearest 100th of a decimal. Example: $100.00
<script>
$.get("https://api.coinmarketcap.com/v1/ticker/", function(data, status) {
for (var i = 0; i < data.length - 1; i++) {
if (data[i].id == "unit") {
$("#unit").html(parseFloat(data[i].price_usd) * 500000);
}
}
});
</script>