From 931831040078bd8d851e9710939a433363c2db11 Mon Sep 17 00:00:00 2001 From: Owen Luts Date: Tue, 17 Mar 2026 11:10:38 -0400 Subject: [PATCH] numbers illegibly --- client/src/components/exercise/lab14/components/Decryption.js | 2 +- client/src/components/exercise/lab14/pages/RSADecryption.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/exercise/lab14/components/Decryption.js b/client/src/components/exercise/lab14/components/Decryption.js index e0d6ddf89..27d3da39c 100644 --- a/client/src/components/exercise/lab14/components/Decryption.js +++ b/client/src/components/exercise/lab14/components/Decryption.js @@ -53,7 +53,7 @@ const Decryption = ({ }; const formatNumber = (num) => { - if (Math.abs(num) >= 1e6) { + if (Math.abs(num) >= 1e12) { return num.toExponential(2); } return num.toLocaleString(); diff --git a/client/src/components/exercise/lab14/pages/RSADecryption.js b/client/src/components/exercise/lab14/pages/RSADecryption.js index 38b37c16f..f8aae2a47 100644 --- a/client/src/components/exercise/lab14/pages/RSADecryption.js +++ b/client/src/components/exercise/lab14/pages/RSADecryption.js @@ -28,7 +28,7 @@ const RSADecryption = () => { }; const formatNumber = (num) => { - if (Math.abs(num) >= 1e6) { + if (Math.abs(num) >= 1e12) { return num.toExponential(2); } return num.toLocaleString();