Class NumberMultiplierFactory

    • Constructor Detail

      • NumberMultiplierFactory

        public NumberMultiplierFactory​(boolean fPostFactor)
        Construct an instance of NumberMultiplierFactory.
        Parameters:
        fPostFactor - pass true to create NumberMultipliers that will return value as it was before it was multiplied, or pass false to create NumberMultipliers that will return the value as it is after it is multiplied
    • Method Detail

      • toNumber

        protected static Number toNumber​(String sNumber)
        Convert the given string into a number.
        Parameters:
        sNumber - number as a string
        Returns:
        numeric representation of the string