Because you can't. Why can't a variable be declared as both "int" and "double?" Same reason: because it can't.
Please don't start new threads to ask follow-on questions from other threads -- we already discussed this here. I'm going to close this thread; followups in the original thread, please.
Post by:autobot
If you look closely at this tiny ad, you will see five bicycles and a naked woman:
a bit of art, as a gift, that will fit in a stocking