Click or drag to resize

GUIConversionToNumberStringWithUnit Method

Converts a number into a string using an engineering prefix and unit.

Namespace: Altaxo.Serialization
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static string ToNumberStringWithUnit(
	double number,
	string unit
)

Parameters

number  Double
The number to format.
unit  String
The unit suffix.

Return Value

String
The formatted number string.
See Also