# Synopsis

PDX_MSGT mth_NormalizeParameterToRange(PDX_MSGT option, double start, double range, double *param)

# Purpose

Normalize a Parameter to the passed in range.

# Description

Given a starting point and a positive range, place the param between the starting point and starting point plus the range. Given the option, exclude equalites of either bound.

# Input

## option

MTH_NOOPT (Default) Allow the starting and ending value as solutions. start >= param >= start + range MTH_HIGH_PARM Exclude the starting value as a solution. start > param >= start + range MTH_LOW_PARM Exclude the ending value as a solution. start >= param > start + range

## start

The starting point

## range

Positive range going from starting point to normalize to

## param

Value to be normalized

# Output

## param

The normalized parameter

# Return

MTH_NOERR