which datatype to use to store a number with 20 digits in it?
posted 5 years ago
1. I have a requirement, I have to store a number with 20 digits in it to a variable . which data type do i need to use?
2. I need to also store a number with 11 digits in it to a variable. Which data type i need to use here?
Anu satya wrote:Which data type i need to use here?
Did you try out your code? For starters it won't compile, for at least FOUR reasons - and one of them is a spelling mistake. One of the others would have given you your answer once you got the literal type correct.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here