Click or drag to resize
Grid Solutions Framework

TargetTimeUnitFromTimeUnits Method

Scales the specified time, in the specified units, to a time in seconds.

Namespace: GrafanaAdapters.Functions
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.207-beta
Syntax
public static double FromTimeUnits(
	double value,
	TargetTimeUnit units
)
View Source

Parameters

value  Double
The double value to convert.
units  TargetTimeUnit
The target time unit, which includes scaling factor, for the conversion.

Return Value

Double
A time, in seconds, that represents the converted value.
See Also