Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Commit

Permalink
fix rate again
Browse files Browse the repository at this point in the history
  • Loading branch information
langerhans committed Feb 20, 2015
1 parent dc5890a commit ba71d5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/dogelisten.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ratebox.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rateboxGetRate = function() {
$.getJSON(api_url, function (jsonp) {
var ticker = $.parseJSON(jsonp.data.prices[0].price);
if (ticker) {
$("#rate").html(parseFloat(ticker).toFixed(8) * 100000000);
$("#rate").html(Math.round(parseFloat(ticker).toFixed(8) * 100000000));
} else {
rateboxTimeout = setTimeout(rateboxGetRate, ratebox_ms);
}
Expand Down

0 comments on commit ba71d5a

Please sign in to comment.