|
Navigation: Function Reference > Stream Functions > Stream Utility Functions > strmNormalizeAbsolute() strmNormalizeAbsolute() |
Top Previous Next |
strmNormalizeAbsolute( stream: TEStream; offset: integer ) : Double;
Returns the normalized value based on the highest and lowest values found in the entire stream, starting at offset. The value is calculated as:
Normalized := (curValue-lowestValue)/(highestValue-lowestValue);
Parameters
stream |
input stream of type TEStream |
offset |
integer value. offset into the stream at which to start the calculation. |