This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i want to display only 5- 8 digits

 
sandy indira
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends..

i am fetching data from the database and printing on the screen..the data is of numericals..

and the value contains 15 digits..

i want to display only 5- 8 digits...how can i do it???
 
James Tharakan
Ranch Hand
Posts: 580
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please look into the NumberFormat class. it will be of help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic