-
Notifications
You must be signed in to change notification settings - Fork 18k
proposal: strconv: make ParseFloat support fraction unicode characters #26159
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
Comments
BTW: I'm only suggesting these be treated as a special case. |
Do people need this? Does a library exist that does this? How popular is it? |
I came across a use-case and I assumed the library would convert |
What is |
@ALTree It can be documented what a |
Sorry, but no. ParseFloat is for decimals. We're not going to start recognizing circled-1234 etc either. If you think others would find this useful, it would make sense to publish an external package providing this functionality. It doesn't have to be in the standard library. |
It would be nice if
ParseFloat
would support these characters:½
,↉
,⅓
,⅔
,¼
,¾
,⅕
,⅖
,⅗
,⅘
,⅙
,⅚
,⅐
,⅛
,⅜
,⅝
,⅞
,⅑
,⅒
The text was updated successfully, but these errors were encountered: