Difference between integer and number on basis of data type
Answers
Answered by
0
An integer is a whole number that will positive or negative .A number is a any kind for example (whole number (or)non-whole number).
Answered by
0
Number allows for much larger values than Integer does. If you are using whole numbers, I recommend using Integer. If you are using numbers that may have a decimal component, I recommend Number.
May it helps you ✌️✌️
Similar questions