Version

GetAbbreviatedString Method

Gets abbreviated value and symbol for specified number, e.g. converts 2400 to "2.4K"
Syntax
'Declaration
 
Public Function GetAbbreviatedString( _
   ByVal number As Double, _
   ByVal mode As Infragistics.Win.DataVisualization.DataAbbreviationMode, _
   ByVal minDigits As Integer, _
   ByVal maxDigits As Integer _
) As String
public string GetAbbreviatedString( 
   double number,
   Infragistics.Win.DataVisualization.DataAbbreviationMode mode,
   int minDigits,
   int maxDigits
)

Parameters

number
specify a number to abbreviate
mode
specify mode for abbreviating large numbers
minDigits
specify min precision or use -1 for auto-calculating min number of digits of precision
maxDigits
specify max precision or use -1 for auto-calculating max number of digits of precision
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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