aspose file tools
The moose likes Beginning Java and the fly likes Converting Integer to Decimal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Converting Integer to Decimal" Watch "Converting Integer to Decimal" New topic
Author

Converting Integer to Decimal

mamidi venkat
Ranch Hand

Joined: Jul 03, 2007
Posts: 63
Hi All,

Here i wanted to convert the integer value i.e 24 to decimal like 24.23
how to do that.can anyone please help me out in this context
Vaibhav Aggarwal
Greenhorn

Joined: Sep 12, 2007
Posts: 8
Hi

U can convert int into float by implicit casting . Example
Output would be
 
Consider Paul's rocket mass heater.
 
subject: Converting Integer to Decimal