replace use of Number.parseFloat

fixes GRADE-1239

test plan:
 * use IE11 to enter grades
 * Verify it works

Change-Id: I6b10628ea848b8161a51c7367e695231c5ea61a7
Reviewed-on: https://gerrit.instructure.com/153437
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Tested-by: Jenkins
QA-Review: Spencer Olson <solson@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
This commit is contained in:
Jeremy Neander 2018-06-12 09:20:46 -05:00
parent 568fefc89e
commit c46bc15499
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ import numberHelper from '../../shared/helpers/numberHelper'
const MAX_PRECISION = 15 // the maximum precision of a score persisted to the database
function toNumber(bigValue) {
return Number.parseFloat(bigValue.round(MAX_PRECISION).toString(), 10)
return parseFloat(bigValue.round(MAX_PRECISION).toString(), 10)
}
function pointsFromPercentage(percentage, pointsPossible) {