|
-
May 17th, 1999, 09:42 PM
#1
how to display one digit integer to two or more digit
I want to display one digit integer to two or more digit.For example,m_hour=1.I want to display '01'.But I don't use complex method.(eg. at first judge the digit of the integer.Then to decide whether add 0 to the number).
Have you some good methods?Please teach me.
Thank you all.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|