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

number方法需要默认值参数 #37

Closed
wtto00 opened this issue Feb 15, 2023 · 1 comment
Closed

number方法需要默认值参数 #37

wtto00 opened this issue Feb 15, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@wtto00
Copy link
Owner

wtto00 commented Feb 15, 2023

如果转换number不成功,需要有个默认值,0或者自定义

@wtto00 wtto00 added the enhancement New feature or request label Feb 15, 2023
@wtto00
Copy link
Owner Author

wtto00 commented Feb 15, 2023

添加默认值为0,而不是之前的isNaN

wtto00 added a commit that referenced this issue Feb 15, 2023
fix #36
fix #37
fix #38
@wtto00 wtto00 mentioned this issue Feb 16, 2023
@wtto00 wtto00 closed this as completed in 5715c90 Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant