I just noticed through debugging my code that the two following lines produce different results:
Returns "5.0000"Code:String.Format("{0:F4}", 5)
Returns "5"Code:Format("{0:F4}", 5)
Can anyone shed some light on this?
Thanks!
|
Results 1 to 2 of 2
Thread: [2005] String.Format vs Format
|
Click Here to Expand Forum to Full Width |