From 5c0f24f5d035732d45db1f0713bf1c124e5b10d7 Mon Sep 17 00:00:00 2001 From: catloversg <152669316+catloversg@users.noreply.github.com> Date: Sat, 11 Oct 2025 00:37:35 +0700 Subject: [PATCH] UI: Show server's money in exponential form if it's too small (#2343) --- src/Terminal/Terminal.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Terminal/Terminal.ts b/src/Terminal/Terminal.ts index 90a188c2d..08b85b19f 100644 --- a/src/Terminal/Terminal.ts +++ b/src/Terminal/Terminal.ts @@ -396,7 +396,9 @@ export class Terminal { this.print("Time to hack: " + (!isHacknet ? convertTimeMsToTimeElapsedString(hackingTime, true) : "N/A")); } this.print( - `Total money available on server: ${currServ instanceof Server ? formatMoney(currServ.moneyAvailable) : "N/A"}`, + `Total money available on server: ${ + currServ instanceof Server ? formatMoney(currServ.moneyAvailable, true) : "N/A" + }`, ); if (currServ instanceof Server) { const numPort = currServ.numOpenPortsRequired;