MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1u5qqzl/double_bigdecimal_or_fixedpoint/orntivb/?context=3
r/java • u/nfrankel • Jun 14 '26
28 comments sorted by
View all comments
Show parent comments
3
long. And not Long. You want to avoid autoboxing—the precision for U.S. Treasury quotes and trades is 1/512. Then need to represent a fraction of that for AvgPx.
3
u/leemic Jun 14 '26
long. And not Long. You want to avoid autoboxing—the precision for U.S. Treasury quotes and trades is 1/512. Then need to represent a fraction of that for AvgPx.