Quantcast
Channel: User Federico klez Culloca - Stack Overflow
Viewing all articles
Browse latest Browse all 488

Comment by Federico klez Culloca on How can I set the precision of a BigDecimal-typed property in a Java record?

$
0
0
Looks to me like this is a problem for the client of that DTO, not for the DTO itself. By the way, if you want non-standard behavior you'll probably have to bend over and use a custom constructor. Or set the precision of the value before creating the record.

Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>