Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

mragab/monetary-java-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Don’t use float or double where exact answers are required; for monetary calculations

You may use BigDecimal, but when using BigDecimal:
- Don’t use BigDecimal(double) constructor
- Use the BigDecimal(String) constructor
- Or Use the BigDecimal.valueOf(double) factory method

About

Illustrating Java types for monetary calculations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages