Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BigDecimal a = 27
- BigDecimal b = 365
- BigDecimal c = 3.48231
- println((a/b)*c)
- Result: 0.257595534108237
- >
- float a = 27
- float b = 365
- float c = 3.48231
- println((a/b)*c)
- Result: 0.257595538439816
- >
- Double a = 27
- Double b = 365
- Double c = 3.48231
- println((a/b)*c)
- Result: 0.257595534246575331
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement