Using BigDecimal to perform exact calculations

preview_player
Показать описание
Avoid using float or double to perform exact calculations. Use int, long, or BigDecimal instead.

Рекомендации по теме