Class SCurrencyUtil


  • public class SCurrencyUtil
    extends java.lang.Object
    Author:
    Sokkheang.huo
    • Constructor Summary

      Constructors 
      Constructor Description
      SCurrencyUtil()  
    • Constructor Detail

      • SCurrencyUtil

        public SCurrencyUtil()
    • Method Detail

      • numToEng

        public static java.lang.String numToEng​(java.lang.String amount)
                                         throws SException
        Throws:
        SException
      • numToEng

        public static java.lang.String numToEng​(java.math.BigDecimal amount)
                                         throws SException
        Throws:
        SException
      • convertNumberToLetter

        public static java.lang.String convertNumberToLetter​(long n)
                                                      throws SException
        Throws:
        SException
      • BigDecimalRoundUP

        public static java.math.BigDecimal BigDecimalRoundUP​(java.math.BigDecimal amount)
                                                      throws SException
        Throws:
        SException
      • ListAllCurrency

        public static SList ListAllCurrency()
      • ConvertAmount

        public static java.lang.String ConvertAmount​(double amount)
      • PercentageFormat

        public static java.lang.String PercentageFormat​(java.lang.String percent)
                                                 throws SException
        Throws:
        SException