Trivadis Navigator
Trivadis BlogStart
Leistungsangebot
Kompetenzen
Training
News & PR
Events
Über Trivadis
Login
Join
Sign in
BigDecimal rounding to the nearest 5 cents with Java's BigDecimal
Options
Share this
Tags
context
docker
eclipselink
error
glassfish
howto
integration
intellij
java
jpa
linux
maven
mongodb
osx
performance
plugin
properties
run
spring
spring_boot
spring_data
spring_mvc
ssh
test
tutorial
Home
»
Ulises Fasoli
»
BigDecimal rounding to the nearest 5 cents with Java's BigDecimal
Ulises Fasoli
RSS for posts
BigDecimal rounding to the nearest 5 cents with Java's BigDecimal
Rate This
Ulises Fasoli
Mo, Jan 15 2018 12:54
Comments
1
Recently I hat to implement a function that would round to the nearest 5 cents and after googling around a bit I found bits and pieces here and there but none just worked for me, so below you can find a function that should do just that /** * Rounds a
...read more
1 Comments
Read the complete post at
ufasoli.blogspot.com/.../bigdecimal-rounding-to-nearest-5-cents.html
java
,
big_decimal
,
cents
,
bigdecimal
,
round
,
5