mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 00:50:25 +02:00
Hooked up NumberFormatter calls for all int type ToString methods
This commit is contained in:
parent
f9ee4010cb
commit
0e873f535e
8 changed files with 48 additions and 124 deletions
|
@ -55,13 +55,14 @@ namespace System
|
|||
static String sHexLowerChars = "0123456789abcdef";
|
||||
public void ToString(String outString, String format, IFormatProvider formatProvider)
|
||||
{
|
||||
if ((format != null) && (!format.IsEmpty))
|
||||
if(format == null || format.IsEmpty)
|
||||
{
|
||||
((UInt64)this).ToString(outString, format, formatProvider);
|
||||
return;
|
||||
ToString(outString);
|
||||
}
|
||||
else
|
||||
{
|
||||
NumberFormatter.NumberToString(format, (int64)this, formatProvider, outString);
|
||||
}
|
||||
|
||||
ToString(outString);
|
||||
}
|
||||
|
||||
public override void ToString(String strBuffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue