Permalink
Cannot retrieve contributors at this time
Fetching contributors…
| // <Snippet12> | |
| using System; | |
| public class Example | |
| { | |
| public static void Main() | |
| { | |
| Double value = .324; | |
| Console.WriteLine("The value is: '{0,5:#.###}'", value); | |
| } | |
| } | |
| // The example displays the following output if the current culture | |
| // is en-US: | |
| // The value is: ' .324' | |
| // </Snippet12> |