Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
AnswerRe: Add five zéros on the left of int Pin
Eddy Vluggen16-Feb-09 9:11
professionalEddy Vluggen16-Feb-09 9:11 
GeneralRe: Add five zéros on the left of int Pin
Guffa16-Feb-09 9:19
Guffa16-Feb-09 9:19 
GeneralRe: Add five zéros on the left of int Pin
Tony Pottier16-Feb-09 9:22
Tony Pottier16-Feb-09 9:22 
GeneralRe: Add five zéros on the left of int Pin
Eddy Vluggen16-Feb-09 11:04
professionalEddy Vluggen16-Feb-09 11:04 
JokeRe: Add five zéros on the left of int Pin
Guffa16-Feb-09 12:12
Guffa16-Feb-09 12:12 
GeneralRe: Add five zéros on the left of int Pin
Eddy Vluggen16-Feb-09 20:36
professionalEddy Vluggen16-Feb-09 20:36 
GeneralRe: Add five zéros on the left of int Pin
Rutvik Dave16-Feb-09 11:22
professionalRutvik Dave16-Feb-09 11:22 
GeneralRe: Add five zéros on the left of int Pin
Guffa16-Feb-09 14:03
Guffa16-Feb-09 14:03 
Then it would probably have been a more hardcore solution:

char[] c = new char[10];
for (int i = 9; i >= 0; number /= 10) c[i--] = (char)('0' + number % 10);
string result = new String(c);

Wink | ;)

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Add five zéros on the left of int Pin
Rutvik Dave17-Feb-09 3:50
professionalRutvik Dave17-Feb-09 3:50 
GeneralRe: Add five zéros on the left of int Pin
Guffa17-Feb-09 5:21
Guffa17-Feb-09 5:21 
GeneralRe: Add five zéros on the left of int Pin
Eddy Vluggen16-Feb-09 20:39
professionalEddy Vluggen16-Feb-09 20:39 
GeneralRe: Add five zéros on the left of int Pin
Rutvik Dave17-Feb-09 3:57
professionalRutvik Dave17-Feb-09 3:57 
GeneralRe: Add five zéros on the left of int Pin
Eddy Vluggen17-Feb-09 4:32
professionalEddy Vluggen17-Feb-09 4:32 
AnswerRe: Add five zéros on the left of int Pin
alantu16-Feb-09 15:49
alantu16-Feb-09 15:49 
QuestionRead string with é, è, à Pin
abbd16-Feb-09 8:30
abbd16-Feb-09 8:30 
AnswerRe: Read string with é, è, à Pin
Tony Pottier16-Feb-09 9:24
Tony Pottier16-Feb-09 9:24 
GeneralRe: Read string with é, è, à Pin
abbd16-Feb-09 21:15
abbd16-Feb-09 21:15 
Questionproblem whit Combo-Box Pin
E_Gold16-Feb-09 7:32
E_Gold16-Feb-09 7:32 
AnswerRe: problem whit Combo-Box Pin
Eddy Vluggen16-Feb-09 7:40
professionalEddy Vluggen16-Feb-09 7:40 
GeneralRe: problem whit Combo-Box Pin
Xmen Real 16-Feb-09 7:56
professional Xmen Real 16-Feb-09 7:56 
GeneralRe: problem whit Combo-Box Pin
Eddy Vluggen16-Feb-09 8:12
professionalEddy Vluggen16-Feb-09 8:12 
GeneralRe: problem whit Combo-Box Pin
E_Gold16-Feb-09 8:24
E_Gold16-Feb-09 8:24 
GeneralRe: problem whit Combo-Box Pin
Eddy Vluggen16-Feb-09 9:08
professionalEddy Vluggen16-Feb-09 9:08 
GeneralRe: problem whit Combo-Box Pin
E_Gold16-Feb-09 10:25
E_Gold16-Feb-09 10:25 
GeneralRe: problem whit Combo-Box Pin
Eddy Vluggen16-Feb-09 10:56
professionalEddy Vluggen16-Feb-09 10:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.