Class AmtInWords_SR

  • All Implemented Interfaces:
    AmtInWords

    public class AmtInWords_SR
    extends Object
    implements AmtInWords
    Amount in Words for Serbia.
    Author:
    Nikola Petkov -The class is based on the AmtInWords_EN.java written by jjanke
    • Constructor Detail

      • AmtInWords_SR

        public AmtInWords_SR()
        AmtInWords_RS
    • Method Detail

      • getAmtInWords

        public String getAmtInWords​(String amount)
                             throws Exception
        Get Amount in Words
        Specified by:
        getAmtInWords in interface AmtInWords
        Parameters:
        amount - numeric amount (352.80)
        Returns:
        amount in words (three*five*two 80/100)
        Throws:
        Exception
      • main

        public static void main​(String[] args)
        Test
        Parameters:
        args - ignored