Skip to content

Commit

Permalink
// Rename tools.js variable
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbourdeau committed Sep 29, 2014
1 parent 89b9647 commit 36b453f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function ps_log10(value)
}

function ps_round_half_up(value, precision)
{
{
var mul = Math.pow(10, precision);
var val = value * mul;

Expand All @@ -123,8 +123,8 @@ function ps_round(value, places)
{
if (typeof(roundMode) === 'undefined')
roundMode = 2;
if (typeof(precision) === 'undefined')
precision = 2;
if (typeof(places) === 'undefined')
places = 2;

var method = roundMode;

Expand Down

0 comments on commit 36b453f

Please sign in to comment.