diff --git a/src/Augmentation/ui/PlayerMultipliers.tsx b/src/Augmentation/ui/PlayerMultipliers.tsx index 2182a298e..19d7cd2ba 100644 --- a/src/Augmentation/ui/PlayerMultipliers.tsx +++ b/src/Augmentation/ui/PlayerMultipliers.tsx @@ -23,14 +23,19 @@ interface IBitNodeModifiedStatsProps { color: string; } +function customFormatPercent(value: number): string { + return formatPercent(value, 2, 100); +} + function BitNodeModifiedStats(props: IBitNodeModifiedStatsProps): React.ReactElement { // If player doesn't have SF5 or if the property isn't affected by BitNode mults if (props.mult === 1 || Player.sourceFileLvl(5) === 0) - return {formatPercent(props.base)}; + return {customFormatPercent(props.base)}; return ( - {formatPercent(props.base)} {formatPercent(props.base * props.mult)} + {customFormatPercent(props.base)}{" "} + {customFormatPercent(props.base * props.mult)} ); }