Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[suggestion] cast to number, float instead of int #58

Open
beenotung opened this issue Mar 29, 2019 · 1 comment
Open

[suggestion] cast to number, float instead of int #58

beenotung opened this issue Mar 29, 2019 · 1 comment

Comments

@beenotung
Copy link

I suggest to use parseFloat or equivalent instead of parseInt for casting to number,
Unless you make int and float explicit (as oppo to the general number)

@OmgImAlexis
Copy link
Owner

Could you provide an example use case?

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

No branches or pull requests

2 participants