-'''
-//
-// prettyformat.py - simple Python function to format values with nice prefixes
-// Version 1.0.1
-//
-// History
-// 2009 07 16: added negative number support
-// added decimal-formatted output
-//
-// Copyright (c) 2009 Rolf Schmidt, Montreal
-// rschmidt@alcor.concordia.ca
-//
-// This procedure is released under the GNU General Public License version 2
-//
-'''
+# Copyright
+
+"""Format values with nice prefixes.
+History:
+
+* 2009 07 16:
+
+ * added negative number support
+ * added decimal-formatted output
+"""
+__version__ = "1.0.1"
import math
from numpy import isnan
for aValue in scaleValues: print decimalFormat(aValue/iMultiplier, iDecimals),
#print the scale label using the value at iIndex
print '\n'+get_prefix(scaleValues[iIndex])+'N'
-'''
\ No newline at end of file
+'''