Skip to content

0c2af7c3 11a1 4357 a251 b65acfd6c594

Kim Hugener-Ohlsen edited this page May 28, 2016 · 2 revisions

PrefixedBaseUnit.FormatValue Method

Formats the value.

Namespace: Sundew.Quantities.Engine.Units
Assembly: Sundew.Quantities (in Sundew.Quantities.dll) Version: 1.0.2.0 (1.0.2.0)

Syntax

C#

public string FormatValue(
	double value,
	string format,
	IFormatProvider formatProvider
)

C#

public string FormatValue(
	double value,
	string format,
	IFormatProvider formatProvider
)

VB

Public Function FormatValue ( 
	value As Double,
	format As String,
	formatProvider As IFormatProvider
) As String

VB

Public Function FormatValue ( 
	value As Double,
	format As String,
	formatProvider As IFormatProvider
) As String

C++

public:
virtual String^ FormatValue(
	double value, 
	String^ format, 
	IFormatProvider^ formatProvider
) sealed

C++

public:
virtual String^ FormatValue(
	double value, 
	String^ format, 
	IFormatProvider^ formatProvider
) sealed

F#

abstract FormatValue : 
        value : float * 
        format : string * 
        formatProvider : IFormatProvider -> string 
override FormatValue : 
        value : float * 
        format : string * 
        formatProvider : IFormatProvider -> string 

F#

abstract FormatValue : 
        value : float * 
        format : string * 
        formatProvider : IFormatProvider -> string 
override FormatValue : 
        value : float * 
        format : string * 
        formatProvider : IFormatProvider -> string 

Parameters

 

value
Type: System.Double
The value.
format
Type: System.String
The format.
formatProvider
Type: System.IFormatProvider
The format provider.

Return Value

Type: String
The formatted value.

Implements

IUnit.FormatValue(Double, String, IFormatProvider)

See Also

Reference

PrefixedBaseUnit Class
Sundew.Quantities.Engine.Units Namespace

Clone this wiki locally