# difference between decimal,float and decimal integer

Campbell Ritchie

Sheriff

Posts: 47231

52

posted 3 years ago

That's not a Java question. It's a basic math question. I'm sure you can find definitions on the web quite easily.

- 0

Saumyaraj Zala wrote:Sry, its difference between decimal and integer

That's not a Java question. It's a basic math question. I'm sure you can find definitions on the web quite easily.

posted 3 years ago
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors

- 0

decimal refers to a number system in base 10. That means you write it using the digits 0-9.

The Integers are the set of numbers that include the Natural numbers, their negatives, and 0.

You can write an Integer in decimal, in octal, in hexidecimal, in binary...but no matter how you write it, the value is the same.

The Integers are the set of numbers that include the Natural numbers, their negatives, and 0.

You can write an Integer in decimal, in octal, in hexidecimal, in binary...but no matter how you write it, the value is the same.