Class MoneyDataUtil


  • public class MoneyDataUtil
    extends Object
    Utilities for working with money data.
    • Constructor Detail

      • MoneyDataUtil

        public MoneyDataUtil()
    • Method Detail

      • forceDecimalToCents

        public static long forceDecimalToCents​(BigDecimal value)
      • forceDecimalToCents

        public static long forceDecimalToCents​(double value)
      • convertDecimalToCents

        public static long convertDecimalToCents​(BigDecimal value)
      • convertCentsToDecimal

        public static BigDecimal convertCentsToDecimal​(long value)