Skip to content

Commit

Permalink
fixes it finally?
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Blaha committed Jan 6, 2018
1 parent a1de222 commit cb359d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions gh-pages/dist/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "che-react-number-easing",
"version": "0.1.1",
"version": "0.1.2",
"author": "che.wf",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ class NumberEasing extends React.Component {

return (
<span {...other} className={classes}>
{useLocaleString ? displayValue.toLocaleString() :
trail ? displayValue.toFixed(precision > -1 ? precision : 0) : displayValue
{useLocaleString ? parseFloat(displayValue).toLocaleString() :
trail ? parseFloat(displayValue).toFixed(precision > -1 ? precision : 0) : displayValue
}
</span>
);
Expand Down

0 comments on commit cb359d2

Please sign in to comment.