From 693169996c2fd1ed98d1f566d26c555cc75e3b42 Mon Sep 17 00:00:00 2001 From: zeddrak <57454318+zeddrak@users.noreply.github.com> Date: Wed, 12 Jan 2022 12:41:47 -0800 Subject: [PATCH] Make the augments multiplier look nicer Sorry about the last one, thought that was format Exponent not Experience. I used formatMultiplier this time, which seems more appropriate. :) Might still need to go to a larger number type format, but that might be better addressed by modifying the formatMultiplier, so I'll leave it at just this for now. :) --- src/Faction/ui/AugmentationsPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Faction/ui/AugmentationsPage.tsx b/src/Faction/ui/AugmentationsPage.tsx index 6a3446b4f..b9cb58477 100644 --- a/src/Faction/ui/AugmentationsPage.tsx +++ b/src/Faction/ui/AugmentationsPage.tsx @@ -15,6 +15,7 @@ import { hasAugmentationPrereqs } from "../FactionHelpers"; import { use } from "../../ui/Context"; import { Reputation } from "../../ui/React/Reputation"; import { Favor } from "../../ui/React/Favor"; +import { numeralWrapper } from "../../ui/numeralFormat"; import Box from "@mui/material/Box"; import Button from "@mui/material/Button"; @@ -203,7 +204,7 @@ export function AugmentationsPage(props: IProps): React.ReactElement { } > - Price multiplier: x {mult.toFixed(3)} + Price multiplier: x {numeralWrapper.formatMultiplier(mult)}