Click or drag to resize

BitConverterHelperPrevious Method (Single)

Returns the greatest float that is smaller than n.

Namespace:  SmartTests.Helpers
Assembly:  SmartTests (in SmartTests.dll) Version: 1.12.0
Syntax
public static float Previous(
	float n
)

Parameters

n
Type: SystemSingle
The number for which the previous value is to be computed.

Return Value

Type: Single
The greatest value that is smaller than n
See Also