Chandan  Rajbhar

Chandan Rajbhar

  • NA
  • 179
  • 3.5k

Display currency symbol in c# in pdf

Nov 30 2017 6:22 AM
1) Display symbol in hindi 
   Decimal Total='120.32'; 
 
 
 decimal parsed = decimal.Parse(Total, CultureInfo.InvariantCulture);
 CultureInfo hindi = new CultureInfo("hi-IN");
 string text = string.Format(hindi, "{0:c}", parsed); 
 
 2) Display symbol in English
 decimal parsed = decimal.Parse(Total, CultureInfo.InvariantCulture); 
 CultureInfo English= new CultureInfo("en-IN");
 string text = string.Format(English, "{0:c}", parsed);

Answers (2)