Click here to Skip to main content
15,914,500 members
Home / Discussions / C#
   

C#

 
AnswerRe: Help me with formatted int32 strings. Pin
Tuwing.Sabado25-May-09 21:27
Tuwing.Sabado25-May-09 21:27 
GeneralRe: Help me with formatted int32 strings. Pin
Solid Green25-May-09 21:35
Solid Green25-May-09 21:35 
GeneralRe: Help me with formatted int32 strings. Pin
Tuwing.Sabado25-May-09 21:54
Tuwing.Sabado25-May-09 21:54 
GeneralRe: Help me with formatted int32 strings. Pin
stancrm25-May-09 21:58
stancrm25-May-09 21:58 
GeneralRe: Help me with formatted int32 strings. Pin
Solid Green25-May-09 22:20
Solid Green25-May-09 22:20 
GeneralRe: Help me with formatted int32 strings. Pin
stancrm25-May-09 22:28
stancrm25-May-09 22:28 
GeneralRe: Help me with formatted int32 strings. Pin
Guffa26-May-09 0:57
Guffa26-May-09 0:57 
GeneralRe: Help me with formatted int32 strings. Pin
Solid Green26-May-09 17:18
Solid Green26-May-09 17:18 
This method of int32 convert to string with format,maybe can not reverse.

When the format string contains "#".

From MSDN:
#
Digit placeholder
If the value being formatted has a digit in the position where the '#' appears in the format string, then that digit is copied to the result string. Otherwise, nothing is stored in that position in the result string.

Note that this specifier never displays the '0' character if it is not a significant digit, even if '0' is the only digit in the string. It will display the '0' character if it is a significant digit in the number being displayed.

The "##" format string causes the value to be rounded to the nearest digit preceding the decimal, where rounding away from zero is always used. For example, formatting 34.5 with "##" would result in the value 35.
Questionhow to Know the language of the writing that had been made Pin
Ahmed Khallaf25-May-09 20:27
Ahmed Khallaf25-May-09 20:27 
AnswerRe: how to Know the language of the writing that had been made Pin
Rajdeep.NET is BACK25-May-09 20:44
Rajdeep.NET is BACK25-May-09 20:44 
QuestionRe: how to Know the language of the writing that had been made Pin
Ahmed Khallaf25-May-09 20:57
Ahmed Khallaf25-May-09 20:57 
AnswerRe: how to Know the language of the writing that had been made Pin
harold aptroot25-May-09 23:47
harold aptroot25-May-09 23:47 
GeneralRe: how to Know the language of the writing that had been made Pin
Pete O'Hanlon26-May-09 0:06
mvePete O'Hanlon26-May-09 0:06 
GeneralRe: how to Know the language of the writing that had been made Pin
harold aptroot26-May-09 0:49
harold aptroot26-May-09 0:49 
GeneralRe: how to Know the language of the writing that had been made Pin
Ahmed Khallaf26-May-09 4:08
Ahmed Khallaf26-May-09 4:08 
QuestionProblem in TreeView Pin
lnmca25-May-09 20:09
lnmca25-May-09 20:09 
AnswerRe: Problem in TreeView Pin
tom57200725-May-09 20:54
tom57200725-May-09 20:54 
Questionhow to make a part of string as Bold?? Pin
Hema Bairavan25-May-09 20:07
Hema Bairavan25-May-09 20:07 
AnswerRe: how to make a part of string as Bold?? Pin
Tuwing.Sabado25-May-09 20:19
Tuwing.Sabado25-May-09 20:19 
AnswerRe: how to make a part of string as Bold?? Pin
Hari Om Prakash Sharma25-May-09 20:21
Hari Om Prakash Sharma25-May-09 20:21 
AnswerRe: how to make a part of string as Bold?? Pin
Guffa25-May-09 20:25
Guffa25-May-09 20:25 
GeneralRe: how to make a part of string as Bold?? Pin
Hema Bairavan25-May-09 20:27
Hema Bairavan25-May-09 20:27 
QuestionHow a PDF file attached in Internet Explorer? How can I get information about PDF file viewed in browser? Pin
svt gdwl25-May-09 20:06
svt gdwl25-May-09 20:06 
QuestionEvent on time Pin
michaelgr125-May-09 19:42
michaelgr125-May-09 19:42 
AnswerRe: Event on time Pin
dan!sh 25-May-09 19:51
professional dan!sh 25-May-09 19:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.