Produced by IDL 7.1.1
User Documentation

./toolbox
scalevals.pro

Last modification date:
Wed Sep 28 13:27:11 2016

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.

Version
$Id$

Parameters
thevalues
in, required
float
The values to be scaled.
scaledvalues
out, required
variable
The scaled values.
prefix
out, required
variable
One of "G", "M" or "k" for scalings by 1e9, 1e6, or 1e3 respectively.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:39 2016