Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pretty prining SI units

 
Dmitri Bichko
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic