Fr: [2635024] Check printing french specification on AmtInword_FR.fr
https://sourceforge.net/tracker/?func=detail&aid=2635024&group_id=176962&atid=883808
This commit is contained in:
parent
655df3e1a0
commit
3272e21fb1
|
@ -93,6 +93,24 @@ public class AmtInWords_FR implements AmtInWords
|
|||
soFar = numNames[number % 100];
|
||||
number /= 100;
|
||||
}
|
||||
else if ((number % 100 < 80) && (number % 100 > 70))
|
||||
{
|
||||
// 71 ->79 (soixante et onze )
|
||||
soFar = numNames[(number-60) % 100];
|
||||
number /= 10;
|
||||
soFar = tensNames[ (number-1) % 10] + soFar;
|
||||
number /= 10;
|
||||
}
|
||||
else if ((number % 100 < 100) && (number % 100 > 90))
|
||||
{
|
||||
// 91->99
|
||||
soFar = numNames[(number-80) % 100];
|
||||
number /= 10;
|
||||
soFar = tensNames[ (number-1) % 10] + soFar;
|
||||
number /= 10;
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
// 9 et moins
|
||||
|
|
Loading…
Reference in New Issue