I’m currently using N0 to format my numbers. Is there a format to use to allow only positive – anything less than 0 should default to 0?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do this by specifying different formats within one format string like this:
or the same as part of Format string:
The order is (for 2 format string):
See here for further info:
http://msdn.microsoft.com/en-us/library/0c899ak8.aspx#SectionSeparator