I want to develop Gujarati Windows form applicationusing c#.net. But I have a problem that
1) Calculation of two numbers in Gujarati. I solved this code
public static double ParseValue(string value)
{
return double.Parse(string.Join("",
value.Select(c => "+-.".Contains(c)
? "" + c: "" + char.GetNumericValue(c)).ToArray()),
NumberFormatInfo.InvariantInfo);
}
But this code provides me with the meaning of "Eng".
But when two Guajarati are figured out no, I get the output in English. Like this:
Label1.Text = (ParseValue(TextBox1.Text) + ParseValue(TextBox2.Text)).ToString();
So how can I get the result in a Gujarati number number.
2) What is the data type for Gujarati's value Microsoft Access? For Numeric, DateTime ETC ..
source
share