HTMLLogFormatValue Method

Perform unit conversion and format a value to string.

if value is Double.MinValue or Double.MaxValue, "-" is returned

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public virtual string FormatValue(
	double value,
	eumQuantity eumQuantity,
	string formatString = null
)

Parameters

value  Double
Value to handle
eumQuantity  eumQuantity
Unit of value
formatString  String  (Optional)
Format string, can be null

Return Value

String

[Missing <returns> documentation for "M:DHI.Mike1D.Generic.HTMLLog.FormatValue(System.Double,DHI.Generic.MikeZero.eumQuantity,System.String)"]

See Also