Hello group,
Nepali Unicode Traditional is just another human interface for
entering Unicode data into the computer. So, whether you use
Traditional Unicode Nepali or Romanized Unicode Nepali or Devanagari
Inscript (which is the de-facto standard on Windows system) doesn't
make any difference for calculation. These input systems are just
human interfaces. You can use whichever input system you feel
comfortable with. But all will be treated equally by the computer
system.
I'm giving you an example in C# I hope you can use the idea in VB:
the following is wrong:
int a = १;
int b = २;
int c = a + b;
Convert the Unicdoe Nepali characters into ASCII english numbers and
do the calculations:
char ek = '१';
char dui = '२';
double a = Char.GetNumericValue(ek);
double b = Char.GetNumericValue(dui);
double c = a * b;
textBox3.Text = c.ToString();
The textBox3 will show the multiplied number in English. Before
showing it there you may want to convert it back to Nepali. I'm still
working on how to do it. If you are interested, you have to know how
to play with the System.Text.Encoding classes and its two main
properties:
'System.Text.Encoding.ASCII',
'System.Text.Encoding.Unicode'.
Understand the Unicode mapping of Nepali numbers. The concept is
similar to mapping of a english number 0 to ascii 48 or (30 in hex)
Unicdoe 0966 -> ०
Unicode 0967 -> १
.
.
Unicode 096F -> ९
If you can convert Nepali zero to English zero, you can do it with
other numbers too. So you first learn the details of Nepali zero from
here:
http://www.fileformat.info/info/unicode/char/0966/index.htm
I'm also a beginner in this area. Let me know what you can progress.
> Also i want to know about it. If you have any idea, write me ok.
>