• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

abaout how to store a 20 digit number with two decimals

 
j123
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to get and answer for how to store a twenty digit nuber with 2 decimals in java?
i would liket to print in in the screen
is there is any data type called Bigdigit?
 
Daniel Dunleavy
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try using float and double for large numbers.
In Oracle you can store a NUMBER type and specify decimal precision.
Dan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic