Class AmtInWords_MS

java.lang.Object
org.compiere.util.AmtInWords_MS
All Implemented Interfaces:
AmtInWords

public class AmtInWords_MS extends Object implements AmtInWords
Amount in Words for Malaysian Ringgit (RM)
Version:
$Id: AmtInWords_MY.java,v 1.3 2006/07/30 00:54:35 jjanke Exp $
Author:
Jorg Janke - http://www.rgagnon.com/javadetails/java-0426.html
  • Constructor Details

    • AmtInWords_MS

      public AmtInWords_MS()
      AmtInWords_MY
  • Method Details

    • 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