aspose file tools*
The moose likes Beginning Java and the fly likes java.util.UnknownFormatConversionException: Conversion = 'i' error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java.util.UnknownFormatConversionException: Conversion = Watch "java.util.UnknownFormatConversionException: Conversion = New topic
Author

java.util.UnknownFormatConversionException: Conversion = 'i' error

Nick Petas
Ranch Hand

Joined: Jan 31, 2007
Posts: 38
Here is the source code :



The code that produces the error of the topic is bold.
Thank you.
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Your problem is with the percent symbol, "%", as the printf method thinks that it's a format specifier. To use it literally as a percent symbol, you'll need to use two of them in a row. So change this:


to this:
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 10911
    
  12

The bold tag does not work inside the 'code' tags. Referring to the specific line number where the error is would be the best way.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.util.UnknownFormatConversionException: Conversion = 'i' error
 
Similar Threads
Needs help in editing
cannot understand the point of downcasting in the following code
how to test/run a simple inheritance hierarchy in Eclipse
Requiring boolean...
System.out.printf