.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Csharp numerical format

1 REPLY 1
Reply
Message 1 of 2
Anonymous
163 Views, 1 Reply

Csharp numerical format

Good Day, I'm having a problem where I ask the user to input an integer, for the sake of this example we'll say 006, and from there it uses that integer in a later writemessage and then increases it incrementally. Only when the integer in displayed later it shows as "6". Is there any way to keep it as integer so that the incrementation works, yet have it show however many 0s the user inputs?
1 REPLY 1
Message 2 of 2
Keith.Brown
in reply to: Anonymous

Give this a try.  leading zeros

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost