From fb3432f1f4cde83db2eac00e0aad02d8fe069e9b Mon Sep 17 00:00:00 2001 From: VegaZ Date: Tue, 2 Apr 2019 19:27:19 +0200 Subject: [PATCH] fix toFixed --- ReallifeGamemode.Client/Gui/handmoney.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Client/Gui/handmoney.ts b/ReallifeGamemode.Client/Gui/handmoney.ts index 0bfabeff..181eaf26 100644 --- a/ReallifeGamemode.Client/Gui/handmoney.ts +++ b/ReallifeGamemode.Client/Gui/handmoney.ts @@ -15,7 +15,7 @@ mp.events.add("render", () => { if (currentMoney != null) { - var numberFormat = formatNumber(currentMoney.toFixed(0)); + var numberFormat = formatNumber(currentMoney); if (currentMoney >= 0) { mp.game.graphics.drawText("+$" + numberFormat, [0.96, 0.1], {