mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 08:06:04 +02:00
Fixed double formatting
This commit is contained in:
parent
271d88f261
commit
6be24a2734
1 changed files with 1 additions and 1 deletions
|
@ -1782,7 +1782,7 @@ namespace System
|
|||
public static void NumberToString (StringView format, double value, IFormatProvider fp, String outString)
|
||||
{
|
||||
NumberFormatter inst = GetInstance!(fp);
|
||||
inst.Init (format, value, SingleDefPrecision);
|
||||
inst.Init (format, value, DoubleDefPrecision);
|
||||
NumberFormatInfo nfi = inst.GetNumberFormatInstance(fp);
|
||||
if (inst._NaN)
|
||||
outString.Append(nfi.NaNSymbol);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue