-
Notifications
You must be signed in to change notification settings - Fork 0
/
Readme_IndianNumberSystem.txt
40 lines (40 loc) · 1.85 KB
/
Readme_IndianNumberSystem.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
********************** CONVERT NUMBERS TO WORDS W.R.T. INDIAN CURRENCY VERBAL FORMS (Version 0)**********************
*************************************** Author- UJay([email protected]) Date-23 January 2014 *********************
*********************************************************************************************************************
*HOW TO ADD-
*
* Solution Explorer>Right Click>Add> Add Existing Item...>
*
*
*EXAMPLE-
*
* 1) Create object of IndianNumberSystem.
* IndianNumberSystem nu = new IndianNumberSystem();
*
* 2) Methods-
* I) for string without formatting [only one parameter int]
* string str=nu.convertNumToWord(69); output- Sixty-nine
*
* II) for string with prefix rupees[Two parameters int,string]
* string str=nu.convertNumToWord(169,"r"); output- rupees one hundred and sixty-nine
*
* III) for titled string i.e. each starting letter in uppercase[Two parameters int,string]
* string str=nu.convertNumToWord(1169,"t") output - One Thousand One Hundred And Sixty-nine
*
* IV) for slash dash symbol "/-" at the end use "s" in 2nd parameter[Two parameters int,string]
* string str=nu.convertNumToWord(1169,"st") output - One Thousand One Hundred And Sixty-nine/-
*
* V) for suffix "only" after word use "o" in second parameter[Two parameters int,string]
* string str=nu.convertNumToWord(1169,"ost") output - One Thousand One Hundred And Sixty-nine Only/-
*
* VI) using all i.e. "rost"
* string str=nu.convertNumToWord(1169,"rost") output - Rupees One Thousand One Hundred And Sixty-nine Only/-
*
*****************************************************************************************************************
*
*****************************************************************************************************************
*****************In case of bugs, and suggestions, shoot an email on [email protected]********************
*
*
*/