This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Pretty prining SI units Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Pretty prining SI units" Watch "Pretty prining SI units" New topic
Author

Pretty prining SI units

Dmitri Bichko
Greenhorn

Joined: Jun 16, 2007
Posts: 15
Hi,

Anyone know of a library that will convert values to "human readable" SI prefixes (similar to -h for many GNU file utilities)? For example: ".0000001 M" -> "100 nM", ".00001 M" -> "10 �M", etc.

Simple enough to do, but I'd rather not reinvent the wheel.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pretty prining SI units
 
Similar Threads
search string from bigger string
in starting of oc4j
rich:comboBox problem !
prototype selector
Regular expression