diff options
| author | mreficent <miquel.raich@eficent.com> | 2019-08-02 11:26:58 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-08-07 10:28:33 +0000 |
| commit | 355a5dfc365c419f3be2e1ccffe0cb38e1140d27 (patch) | |
| tree | 122f40cf08f705573213a78738f886141a84ff6c /addons/web/static/src/js/core/utils.js | |
| parent | 1069890ea0bcbb2d5aa34f3ace777d89da2054f9 (diff) | |
[IMP] *: fix typos in comments
closes odoo/odoo#35404
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/core/utils.js')
| -rw-r--r-- | addons/web/static/src/js/core/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/core/utils.js b/addons/web/static/src/js/core/utils.js index bd9a8d1db64..945b63e9a37 100644 --- a/addons/web/static/src/js/core/utils.js +++ b/addons/web/static/src/js/core/utils.js @@ -330,7 +330,7 @@ var utils = { // better expressed in the scientific format. if (numberMagnitude >= 21) { // we do not use number.toExponential(decimals) because we want to - // avoid the possible useless O decimals: 1e.+24 prefered to 1.0e+24 + // avoid the possible useless O decimals: 1e.+24 preferred to 1.0e+24 number = Math.round(number * Math.pow(10, decimals - numberMagnitude)) / d2; // formatterCallback seems useless here. return number + 'e' + numberMagnitude; |
