Professional Documents
Culture Documents
namespace VTCClass { public partial class Form1 : Form { public Form1() { InitializeComponent(); }
int x = 40000; buttonClick.Text = x.ToString("n1"); //gde n oznacava konvertovanje u hiljadarke // a broj 1 iza n oznacava jedno mesto u decimali // rezultat bi dakle bio 40,000.0
/* * C * P * N * F * D * E * G */
or or or or or or or
c p n f d e g
Currency Percent Thousands separator Decimal with specified decimal places Integer with specified digits Exponential notation Decimal or exponential notation whichever is more compact
} } }