August 2017
Beginner
566 pages
12h 34m
English
The following screenshot shows how Default.aspx.cs looks now:

We'll now add some code so that it looks like this:
double x = 25.098114;//7. Value is needed so we have something to format
The value we set doesn't matter much, of course. We also added the preceding comment after the value.
Obviously, formatting is a big issue. You want the output that you generate on a web page, depending on your needs (for example, currency), to appear properly formatted.
Next, let's add the following comment:
//8. {x:C} prints the value of x formatted as currency ...Read now
Unlock full access