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

Java: Add fromFloat() and toFloat() #89

Open
agdavydov81 opened this issue Feb 28, 2024 · 3 comments
Open

Java: Add fromFloat() and toFloat() #89

agdavydov81 opened this issue Feb 28, 2024 · 3 comments
Assignees

Comments

@agdavydov81
Copy link

In Java (double)3.15f == 3.1500000953674316, so the only way to convert value correctly - use string conversion.
But the string conversion could be slow and also allocate memory.

@agdavydov81 agdavydov81 self-assigned this Feb 28, 2024
@pragyan140799
Copy link

Hi @agdavydov81 , I'm looking to contribute in open source projects. If you need I can look into this issue and fix.
Thank you

@pragyan140799
Copy link

@agdavydov81 can you please reply?

@agdavydov81
Copy link
Author

Hi, @pragyan140799
Of course, you could try to fix this issue.
Just create a pull request on you finish.

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