IDEMPIERE-307 Improve readability of AmtInWords_EN output. Apply patch from hahmed ( Hesham S. Ahmed ).

This commit is contained in:
Heng Sin Low 2012-06-22 17:03:52 +08:00
parent 350bbce59e
commit 4da9bf4cac
1 changed files with 35 additions and 35 deletions

View File

@ -36,12 +36,12 @@ public class AmtInWords_EN implements AmtInWords
/** Thousands plus */
private static final String[] majorNames = {
"",
"Thousand-",
"Million-",
"Billion-",
"Trillion-",
"Quadrillion-",
"Quintillion-"
"Thousand ",
"Million ",
"Billion ",
"Trillion ",
"Quadrillion ",
"Quintillion "
};
/** Ten to Ninety */
@ -105,7 +105,7 @@ public class AmtInWords_EN implements AmtInWords
}
if (number == 0)
return soFar;
return numNames[number] + "Hundred-" + soFar;
return numNames[number] + "Hundred " + soFar;
} // convertLessThanOneThousand
/**