Author: NamrataC | Posted on: 10/8/2009 11:43:34 PM | Views : 304

Hi All,
I'm trying to convert the amount written in numbers into words as on cheque. Please help me for the same.
I've written the following code in a class file and called a function from it into my page.


using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public class NumToWord
{
public String changeNumericToWords(double numb)
    {

        String num = numb.ToString();

        return changeToWords(num, false);

    }

    public String changeCurrencyToWords(String numb)
    {

      &nb ...

Go to the complete details ...