Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Pretty prining SI units  RSS feed

 
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!