Hi All,
Is there is any format specifier, which can be used to print the sign of the number?
For example,
If I enter 10, it should print as +10.
If I enter -2, it should print as -2.
With Thanks and Regards,
A.Ilamparithi
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: Format Specifier!Threaded View
|
Click Here to Expand Forum to Full Width |