diff --git a/dictation_client/src/pages/LicensePage/licenseSummary.tsx b/dictation_client/src/pages/LicensePage/licenseSummary.tsx index a343fa5..0314a33 100644 --- a/dictation_client/src/pages/LicensePage/licenseSummary.tsx +++ b/dictation_client/src/pages/LicensePage/licenseSummary.tsx @@ -289,17 +289,31 @@ export const LicenseSummary: React.FC = ( ) )} - {/* Storage Usedの値表示をハイフンに置き換え */} - {/*
{licenseSummaryInfo.storageSize}GB
*/} -
-
+
+ {/** Byte単位で受け取った値をGB単位で表示するため1000^3で割っている(小数点以下第三位まで表示で第四位で四捨五入) */} + {( + licenseSummaryInfo.storageSize / + 1000 / + 1000 / + 1000 + ).toFixed(3)} + GB +
{t( getTranslationID("LicenseSummaryPage.label.usedSize") )}
- {/* Storage Usedの値表示をハイフンに置き換え */} - {/*
{licenseSummaryInfo.usedSize}GB
*/} -
-
+
+ {/** Byte単位で受け取った値をGB単位で表示するため1000^3で割っている(小数点以下第三位まで表示で第四位で四捨五入) */} + {( + licenseSummaryInfo.usedSize / + 1000 / + 1000 / + 1000 + ).toFixed(3)} + GB +
{t( getTranslationID(