/// <summary> /// This method expose the use of the class. /// Supply the number to be converted and the currency extension of your choice /// </summary> /// <param name="input">Value to be converterd e.g 5023</param> /// <param name="separator">Currency extensions of your choice e.g Dollar </param> /// <returns></returns> public static string Convert(decimal input, string separator = "point") { return(WordConverter.GetNumberConverter(input.ToString(), separator)); }
/// <summary> /// This method expose the use of the class. /// Supply the number to be converted and the currency extension of your choice /// </summary> /// <param name="input">Value to be converterd e.g 5023</param> /// <param name="separator">Currency extensions of your choice e.g Dollar </param> /// <returns></returns> public static string Convert(string input, string separator = "point") { return(WordConverter.GetNumberConverter(input, separator)); }