MathHelperPercentage Method |
Calculates the percentage value for the given range.
Namespace: Ozeki.CommonAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static float Percentage(
float rangeMin,
float rangeMax,
float percentage
)
Public Shared Function Percentage (
rangeMin As Single,
rangeMax As Single,
percentage As Single
) As Single
public:
static float Percentage(
float rangeMin,
float rangeMax,
float percentage
)
static member Percentage :
rangeMin : float32 *
rangeMax : float32 *
percentage : float32 -> float32
Parameters
- rangeMin
- Type: SystemSingle
The minimum value of the interval. - rangeMax
- Type: SystemSingle
The maximum value of the interval. - percentage
- Type: SystemSingle
The percentage within the interval.
Return Value
Type:
SingleSee Also