/// <summary> /// Constructor: Full Version /// </summary> /// <param name="number">Number to be converted</param> /// <param name="currency">Currency to use</param> /// <param name="englishPrefixText">English text to be placed before the generated text</param> /// <param name="englishSuffixText">English text to be placed after the generated text</param> /// <param name="arabicPrefixText">Arabic text to be placed before the generated text</param> /// <param name="arabicSuffixText">Arabic text to be placed after the generated text</param> public ToWord(Decimal number, CurrencyInfo currency, String englishPrefixText, String englishSuffixText, String arabicPrefixText, String arabicSuffixText) { InitializeClass(number, currency, englishPrefixText, englishSuffixText, arabicPrefixText, arabicSuffixText); }
/// <summary> /// Constructor: short version /// </summary> /// <param name="number">Number to be converted</param> /// <param name="currency">Currency to use</param> public ToWord(Decimal number, CurrencyInfo currency) { InitializeClass(number, currency, String.Empty, "only.", "فقط", "لا غير"); }