Check out example codes for "vb.net tostring numeric format string". It will help you in understanding the concepts better.
Code Example 1
decimal value = 123.456m;
Console.WriteLine("Your account balance is {0:C2}.", value);
// Displays "Your account balance is $123.46."
Learn ReactJs, React Native from akashmittal.com