aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util/format.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/instant/src/util/format.ts')
-rw-r--r--packages/instant/src/util/format.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/util/format.ts b/packages/instant/src/util/format.ts
index de7eb62e6..b62c968fb 100644
--- a/packages/instant/src/util/format.ts
+++ b/packages/instant/src/util/format.ts
@@ -40,6 +40,6 @@ export const format = {
if (_.isUndefined(ethUnitAmount) || _.isUndefined(ethUsdPrice)) {
return defaultText;
}
- return `$${ethUnitAmount.mul(ethUsdPrice).round(decimalPlaces)}`;
+ return `$${ethUnitAmount.mul(ethUsdPrice).toFixed(decimalPlaces)}`;
},
};