You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the expected behaviour of the Num2Words is to generate accurate linguistic representations of numbers in the Arabic language (case of two "مثنى"), considering grammatical rules, especially in the context of 100 and its multiples.
In case of رفع, the library should convert the number ending with "ان" , and in the نصب case, it should convert the number ending with "ين"
Actual Behavior
The generated output is the conversion of the numbers ending in all cases of mothanna (case of two "مثنى") with "ان" in both the "رفع" case in the "نصب" case.
Steps to reproduce
step 1
Introduce a new class attribute named "rafea" within the "init" method and set it to True to activate the رفع (rafea) condition.
step 2
add an if condition to check the state of the "rafea" flag. If rafea flag is true, num2words functions normally and converts the 100 and its multiples ending with "ان".
else, if rafea flag is is set to false, num2words converts 100 and its multiples ending with "ين" .
The text was updated successfully, but these errors were encountered:
Expected Behavior
the expected behaviour of the Num2Words is to generate accurate linguistic representations of numbers in the Arabic language (case of two "مثنى"), considering grammatical rules, especially in the context of 100 and its multiples.
In case of رفع, the library should convert the number ending with "ان" , and in the نصب case, it should convert the number ending with "ين"
Actual Behavior
The generated output is the conversion of the numbers ending in all cases of mothanna (case of two "مثنى") with "ان" in both the "رفع" case in the "نصب" case.
Steps to reproduce
Introduce a new class attribute named "rafea" within the "init" method and set it to True to activate the رفع (rafea) condition.
add an if condition to check the state of the "rafea" flag. If rafea flag is true, num2words functions normally and converts the 100 and its multiples ending with "ان".
else, if rafea flag is is set to false, num2words converts 100 and its multiples ending with "ين" .
The text was updated successfully, but these errors were encountered: