Click or drag to resize

GUIConversionGetPercentMeasureValue Method

Get a percentage value from a text string.

Namespace: Altaxo.Serialization
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool GetPercentMeasureValue(
	string txt,
	ref double value
)

Parameters

txt  String
Text string. Consists of a number and optionally a percent char.
value  Double
On return, gives the actual value, but in relative units (not 0..100, but 0..1).

Return Value

Boolean
True if the conversion was successful, false otherwise.
See Also