Click or drag to resize

FilterHelperParseApprox Method

Attempt to parse a filter value for an approximation (+/- or =-) filter. Note that it is the responsibility of the caller to parse and apply the margin.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public bool ParseApprox(
	string val,
	out string mid,
	out string margin,
	out bool percent
)

Parameters

val
Type: SystemString
The text to parse.
mid
Type: SystemString
The base (middle) value to which the approximation should be applied, if an approximation filter is found.
margin
Type: SystemString
The +/- margin, if an approximation filter is found.
percent
Type: SystemBoolean
True if the margin is specified as a percentage, else false for an absolute margin.

Return Value

Type: Boolean
True if determined to include an approximation marker (+/- or +-), else false.
See Also