File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Converting Integer to Decimal" Watch "Converting Integer to Decimal" New topic

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

Joined: Sep 12, 2007
Posts: 8

U can convert int into float by implicit casting . Example
Output would be
I agree. Here's the link:
subject: Converting Integer to Decimal
jQuery in Action, 3rd edition