Astonish your friends and relatives, check this awesome Indian Train Locator Android App #ITLApp http://goo.gl/4BGQD
Introduction: In my previous article I have explained about how to validate emailid using javascript . In this article I am going to explain about code used to convert rupees(numbers) into words using C#.Net . Explanation: For explanation purpose I have a page. It has a textbox to input the numbers. And when you click on the convert to words button then it will convert the input numbers into words and shows it in the below label. Below is the C# code used to do this functionality. public static string NumbersToWords( int inputNumber) { int inputNo = inputNumber; if (inputNo == 0) return "Zero" ; int [] numbers = new int [4]; int first = 0; int u, h, t; System.Text. StringBuilder sb = new System.Text. StringBuilder (); if (inputNo < 0) { ...
Comments
Post a Comment