I would like to convert an integer to Chinese numerals, I have tried the code below but all it outputs is the character "3" and not the Chinese equivalent. Can someone tell me if this is possible in c#?
static void Main(string[] args)
{
CultureInfo ci = new CultureInfo("zh-CN", false);
ci.NumberFormat.DigitSubstitution = DigitShapes.NativeNational;
int value = 3;
Console.WriteLine(string.Format(ci, "{0}", value));
}
I've also tried it with value.ToString(ci), but get the same result.