how to get my script to display the calculation with two decimal places
<p>I  am having a very hard time figuring out how to display my calculation to .00 decimal places. It always rounds it down/up.</p>

<p>Here is the code:</p>

<pre><code>$(function() {
    var $priceHolder = $('#creditsPrice');
    if ($priceHolder.size() === 1) {
        $('#creditsNeeded').keyup(function(e) {
            var $this = $(this),
                url = $this.attr('rel'),
                credits = parseInt($this.val(), 10);

            if (credits &lt;= 0) {
                if ($priceHolder.is(':visible')) {
                    $priceHolder.hide();
                }
                $priceHolder.hide();
                return;
            }

            if (!$priceHolder.is(':visible')) {
                $priceHolder.show();
            }

            url += '/' + credits;

            $.ajax({
                method: 'get',
                url: url,
                dataType: 'json',
                success: function(data) {
                    $('#js-price', $priceHolder).text(data);
                }
            });
        });
    }
});
</code></pre>
