| Author |
difference between decimal,float and decimal integer
|
Saumyaraj Zala
Ranch Hand
Joined: Aug 06, 2012
Posts: 30
|
|
|
What is difference between Decimal,Float and Decimal Integer?
|
 |
Jeff Verdegan
Bartender
Joined: Jan 03, 2004
Posts: 5855
|
|
1. What did the documentation say when you read it before posting here?
2. Where did you see the term "Decimal Integer" (with both words capitalized). Cite your sources, or it doesn't exist.
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32673
|
|
|
Where did you find a Decimal class? As JD said, please “cite your sources”.
|
 |
Saumyaraj Zala
Ranch Hand
Joined: Aug 06, 2012
Posts: 30
|
|
|
Sry, its difference between decimal and integer
|
 |
Jeff Verdegan
Bartender
Joined: Jan 03, 2004
Posts: 5855
|
|
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.
|
 |
fred rosenberger
lowercase baba
Bartender
Joined: Oct 02, 2003
Posts: 9948
|
|
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.
|
Never ascribe to malice that which can be adequately explained by stupidity.
|
 |
 |
|
|
subject: difference between decimal,float and decimal integer
|
|
|