mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 15:24:10 +02:00
Fix small int/uint typo in NumberFormatter.bf
This commit is contained in:
parent
73ec76540e
commit
49d436b6cd
1 changed files with 2 additions and 2 deletions
|
@ -1735,14 +1735,14 @@ namespace System
|
||||||
public static void NumberToString (StringView format, uint32 value, IFormatProvider fp, String outString)
|
public static void NumberToString (StringView format, uint32 value, IFormatProvider fp, String outString)
|
||||||
{
|
{
|
||||||
NumberFormatter inst = GetInstance!(fp);
|
NumberFormatter inst = GetInstance!(fp);
|
||||||
inst.Init (format, value, Int32DefPrecision);
|
inst.Init (format, value, UInt32DefPrecision);
|
||||||
inst.IntegerToString(format, fp, outString);
|
inst.IntegerToString(format, fp, outString);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void NumberToString (StringView format, int32 value, IFormatProvider fp, String outString)
|
public static void NumberToString (StringView format, int32 value, IFormatProvider fp, String outString)
|
||||||
{
|
{
|
||||||
NumberFormatter inst = GetInstance!(fp);
|
NumberFormatter inst = GetInstance!(fp);
|
||||||
inst.Init (format, value, UInt32DefPrecision);
|
inst.Init (format, value, Int32DefPrecision);
|
||||||
inst.IntegerToString (format, fp, outString);
|
inst.IntegerToString (format, fp, outString);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue