HTMLLogFormatValue Method |
Perform unit conversion and format a value to string.
if value is
or
, "-" is returned
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public virtual string FormatValue(
double value,
eumQuantity eumQuantity,
string formatString = null
)
Public Overridable Function FormatValue (
value As Double,
eumQuantity As eumQuantity,
Optional formatString As String = Nothing
) As String
public:
virtual String^ FormatValue(
double value,
eumQuantity^ eumQuantity,
String^ formatString = nullptr
)
Parameters
- value
- Type: SystemDouble
Value to handle - eumQuantity
- Type: eumQuantity
Unit of value - formatString (Optional)
- Type: SystemString
Format string, can be null
Return Value
Type:
String[Missing <returns> documentation for "M:DHI.Mike1D.Generic.HTMLLog.FormatValue(System.Double,DHI.Generic.MikeZero.eumQuantity,System.String)"]
See Also