Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number issue
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Number issue
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01098207
Message ID:
01098207
Views:
57
Alright, I'm having a number issue:

I'm making a number of computations and then displaying the results, the number can be anything from 0 to 99, the only problem I'm hving is when its 0 through 9 I want to display it with a 0 in front (example: 03). I tried to find some kind of formatting in the .TOstring("n2") but that didnt seem to to work, any help would be appreciated. TIA!
Next
Reply
Map
View

Click here to load this message in the networking platform