What is the right data type to represent a price in Java ?
Hey Tom,
BigDecimal, if memory is not a concern and Performance, is not critical, otherwise double with predefined precision.
1 Like
What is the right data type to represent a price in Java ?
Hey Tom,
BigDecimal, if memory is not a concern and Performance, is not critical, otherwise double with predefined precision.