Jump to content

format decimal and date in asp

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...