Jump to content

format decimal and date in asp


Bluecrest
 Share

Recommended Posts

Hi can you send me all the expression in formating the date and decimal? I only have few of them, eh :) Expression Description{0:C} Currency item based on the locale, For example £29.99{0:D4} A number of the set number plus 1. For example 00124{0:N2}% A number with two decimal places, followed by a percentage sign{0:0.0} A number rounded to one decimal place.{0:D} The date represented as a long string. For example Monday, 20 July 2004{0:dd-MM-yy} The number as defined by the day, month and year code. for example 20-07-04

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...