From 49d436b6cd317855dbc165b17e4abf267ebf5cbe Mon Sep 17 00:00:00 2001 From: Thimo Date: Wed, 28 Oct 2020 23:24:59 +0100 Subject: [PATCH] Fix small int/uint typo in NumberFormatter.bf --- BeefLibs/corlib/src/NumberFormatter.bf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BeefLibs/corlib/src/NumberFormatter.bf b/BeefLibs/corlib/src/NumberFormatter.bf index 99800f23..bd12c457 100644 --- a/BeefLibs/corlib/src/NumberFormatter.bf +++ b/BeefLibs/corlib/src/NumberFormatter.bf @@ -1735,14 +1735,14 @@ namespace System public static void NumberToString (StringView format, uint32 value, IFormatProvider fp, String outString) { NumberFormatter inst = GetInstance!(fp); - inst.Init (format, value, Int32DefPrecision); + inst.Init (format, value, UInt32DefPrecision); inst.IntegerToString(format, fp, outString); } public static void NumberToString (StringView format, int32 value, IFormatProvider fp, String outString) { NumberFormatter inst = GetInstance!(fp); - inst.Init (format, value, UInt32DefPrecision); + inst.Init (format, value, Int32DefPrecision); inst.IntegerToString (format, fp, outString); }