Click or drag to resize

HumidityExtensionsToHumidityValue Method

Convert a raw humidity value into its enum equivalent

Namespace:  WeatherSystem
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static HumidityVariables ToHumidityValue(
	this float x
)

Parameters

x
Type: SystemSingle
The value to convert

Return Value

Type: HumidityVariables
The HumidityVariables representation of the value

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Single. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also