Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

vb.net tostring numeric format string

decimal value = 123.456m;
Console.WriteLine("Your account balance is {0:C2}.", value);
// Displays "Your account balance is $123.46."
 
PREVIOUS NEXT
Tagged: #tostring #numeric #format #string
ADD COMMENT
Topic
Name
4+9 =