GorinyZhmarayNawString function

String? GorinyZhmarayNawString(
  1. String number, {
  2. bool ordinal = false,

Returns kurdish word of the given number in String. Number can contain commas. You can determine returned string has ordinal suffix or not by ordinal flag.


String? GorinyZhmarayNawString(String number, {bool ordinal = false}) {
  if (number.isEmpty) return null;
  if (number == '0') return zeroFa;

  return _convert(SrinawayFariza(number).toInt(), ordinal);