DFP icon indicating copy to clipboard operation
DFP copied to clipboard

Java: Add fromFloat() and toFloat()

Open agdavydov81 opened this issue 4 months ago • 3 comments

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 avatar Feb 28 '24 21:02 agdavydov81