Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C Sharp only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
C Sharp
format number
format number
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Ryan Moore
#1
format number
Nov 15 '05, 02:46 PM
how do I format the number of sig digs in the left hand side of a number?
for example I want 1 to be 0001
thnx
Daniel Pratt
#2
Nov 15 '05, 02:46 PM
Re: format number
Hi Ryan,
"Ryan Moore" <ryanmoore@hotm ail.com> wrote in message
news:OaXiuJxoDH A.1072@TK2MSFTN GP09.phx.gbl...[color=blue]
> how do I format the number of sig digs in the left hand side of a number?
>
> for example I want 1 to be 0001
>
> thnx[/color]
Use a format string such as "0000".
URL Shortener, Branded Short Links & Analytics | TinyURL
http://makeashorterlink.com/?I2E612076
Regards,
Dan
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment