mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Implemented format providers
This commit is contained in:
parent
d807049b9f
commit
20cbac3155
2 changed files with 10 additions and 12 deletions
|
@ -1510,12 +1510,11 @@ namespace System
|
|||
|
||||
static NumberFormatInfo sDefaultNFI = new NumberFormatInfo() ~ delete _;
|
||||
|
||||
private NumberFormatInfo GetNumberFormatInstance (IFormatProvider fp)
|
||||
private NumberFormatInfo GetNumberFormatInstance(IFormatProvider fp)
|
||||
{
|
||||
/*if (_nfi != null && fp == null)
|
||||
if (_nfi != null && fp == null)
|
||||
return _nfi;
|
||||
return NumberFormatInfo.GetInstance (fp);*/
|
||||
return sDefaultNFI;
|
||||
return NumberFormatInfo.GetInstance(fp);
|
||||
}
|
||||
|
||||
CultureInfo CurrentCulture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue