Class AmtInWords_BG

  • All Implemented Interfaces:
    AmtInWords

    public class AmtInWords_BG
    extends Object
    implements AmtInWords
    Amount in Words for Bulgarian
    Version:
    $Id: AmtInWords_BG.java,v 0.1 2007/12/21 $, $Id: v, 0.2 2008/06/10 -Simplified. Changed to work with both a dot and a full stop as a separator and without a separator.
    Author:
    Kostadin Mitev -The class is based on the AmtInWords_EN.java written by jjanke
    • Constructor Detail

      • AmtInWords_BG

        public AmtInWords_BG()
        AmtInWords_BG
    • 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