|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox scalevals.pro
scalevals |
procedure scalevals, thevalues, scaledvalues, prefix |
Scale a value and determine the appropriate prefix for the scaled result. This could be more general, but it is only intended to work out scaling for Giga, Mega, and kilo (G,M,k). If thevalues is a vector, only the first value is examined and all values are scaled by the same factor.