Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

format string c#

var num=58.7344;//a.ToString()+" "+"km/hr";
string editednum=num.ToString("0.0");//58.7
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #format #string
ADD COMMENT
Topic
Name
7+7 =