Incredible little decimal best Java object
•
Java
What Java object is best for storing tiny decimal values, such as 10 ^ - 25? When using minimum space, which object holds the value of the number most accurately?
I only need to store the display value, not for any calculation Can I use other alternatives?
Solution
Store it as a string If you do not perform calculations, you do not need to use numeric data types
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码