IDEMPIERE-307 Improve readability of AmtInWords_EN output. Apply patch from hahmed ( Hesham S. Ahmed ).
This commit is contained in:
parent
350bbce59e
commit
4da9bf4cac
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue