Skip to content

Conversation

@csdev
Copy link
Contributor

@csdev csdev commented Aug 11, 2016

No description provided.

toFloat: function (item) {
return isString(item) || isNumber(item) ? parseFloat(item) : null;
},
toFixed: function (item) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect precision to be the static argument and the number to be the dynamic argument, which I think is the opposite of this change, but maybe I'm misunderstanding the use-case. Are you doing 'toFixed:2' or 'toFixed:12.345'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants