Click here to Skip to main content
15,914,419 members
Home / Discussions / C#
   

C#

 
GeneralRe: Ambiguous Pin
LimitedAtonement9-Feb-11 16:56
LimitedAtonement9-Feb-11 16:56 
QuestionConvert String to int zero is missing.... Pin
spalanivel14-Dec-09 23:58
spalanivel14-Dec-09 23:58 
AnswerRe: Convert String to int zero is missing.... Pin
ddecoy15-Dec-09 0:21
ddecoy15-Dec-09 0:21 
GeneralRe: Convert String to int zero is missing.... Pin
spalanivel15-Dec-09 0:39
spalanivel15-Dec-09 0:39 
GeneralRe: Convert String to int zero is missing.... Pin
ddecoy15-Dec-09 1:45
ddecoy15-Dec-09 1:45 
AnswerRe: Convert String to int zero is missing.... Pin
OriginalGriff15-Dec-09 0:36
mveOriginalGriff15-Dec-09 0:36 
GeneralRe: Convert String to int zero is missing.... Pin
spalanivel15-Dec-09 0:45
spalanivel15-Dec-09 0:45 
GeneralRe: Convert String to int zero is missing.... PinPopular
OriginalGriff15-Dec-09 0:53
mveOriginalGriff15-Dec-09 0:53 
Oh boy. Sigh | :sigh:

An integer is a number. Like any number, it can have an infinite number of zeros in front of it. Take your house, or flat number - let us say it is six, and the address is Lemon Street. You live at 6 Lemon street. You also could say "I live at 0000006 Lemon Street, and your letters would still arive - but the postman might think you are a little wierd.

You can happily tell Visual studio:
int i = 000000000006461;
or
int i = 6461;
or
int i = 0006461;
etc., etc. They all mean the same.
A string representation of a number is more like a telephone number: "0123 456789" is a different number to "123 456789" because the exchange will not see it as having an area code, as the leading zero is missing. But, you cannot add two telephone numbers together!

All those who believe in psycho kinesis, raise my hand.

JokeWrong forum Pin
dan!sh 15-Dec-09 1:16
professional dan!sh 15-Dec-09 1:16 
GeneralRe: Wrong forum Pin
Luc Pattyn15-Dec-09 1:35
sitebuilderLuc Pattyn15-Dec-09 1:35 
GeneralRe: Wrong forum Pin
dan!sh 15-Dec-09 1:42
professional dan!sh 15-Dec-09 1:42 
GeneralRe: Convert String to int zero is missing.... Pin
#realJSOP15-Dec-09 3:49
professional#realJSOP15-Dec-09 3:49 
GeneralRe: Convert String to int zero is missing.... Pin
#realJSOP15-Dec-09 3:48
professional#realJSOP15-Dec-09 3:48 
AnswerRe: Convert String to int zero is missing.... Pin
Luc Pattyn15-Dec-09 1:39
sitebuilderLuc Pattyn15-Dec-09 1:39 
QuestionDownload first and last 1000 kb of a file? Pin
jafingi14-Dec-09 23:46
jafingi14-Dec-09 23:46 
AnswerRe: Download first and last 1000 kb of a file? Pin
Eduard Keilholz14-Dec-09 23:56
Eduard Keilholz14-Dec-09 23:56 
GeneralRe: Download first and last 1000 kb of a file? Pin
jafingi15-Dec-09 0:05
jafingi15-Dec-09 0:05 
GeneralRe: Download first and last 1000 kb of a file? Pin
Eduard Keilholz15-Dec-09 0:47
Eduard Keilholz15-Dec-09 0:47 
Questionreport viewer Pin
Member 59031014-Dec-09 23:13
Member 59031014-Dec-09 23:13 
QuestionMathematical Expressions from strings. Pin
Randal Vance Cunanan14-Dec-09 22:53
Randal Vance Cunanan14-Dec-09 22:53 
AnswerRe: Mathematical Expressions from strings. Pin
Migounette14-Dec-09 23:02
Migounette14-Dec-09 23:02 
AnswerRe: Mathematical Expressions from strings. Pin
Alan Balkany15-Dec-09 3:59
Alan Balkany15-Dec-09 3:59 
AnswerRe: Mathematical Expressions from strings. Pin
PIEBALDconsult15-Dec-09 4:37
mvePIEBALDconsult15-Dec-09 4:37 
AnswerRe: Mathematical Expressions from strings. Pin
BillWoodruff15-Dec-09 11:01
professionalBillWoodruff15-Dec-09 11:01 
QuestionDataGridView Delete Slow Pin
stancrm14-Dec-09 22:36
stancrm14-Dec-09 22:36 

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.