Version

FormatNumber Method (RVBaseFormattingService)

Returns the formatted text representation for a given numeric data with given formatting settings.
Syntax
'Declaration
 
Public Overridable Function FormatNumber( _
   ByVal value As Double, _
   ByVal formatting As RVNumberFormattingSpec, _
   ByVal ignoreMkFormatting As Boolean _
) As String
public virtual string FormatNumber( 
   double value,
   RVNumberFormattingSpec formatting,
   bool ignoreMkFormatting
)

Parameters

value
The numeric data
formatting
The formatting options for numeric data type
ignoreMkFormatting
The flag indicating whether to ignore the Million (M) and Thousand (K) formatting

Return Value

The text representation of the formatted numeric data
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also