File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Converting Integer to Decimal
 
Similar Threads
getting numberformatexception For input string: "500.0"
Converting String to Integer without losing leading zero's
int length=343 is 343 an integer literal or decimal literal???
Conversion
BigInteger