diff --git a/src/features/vault/components/PoolDetails/WithdrawSection/WithdrawSection.js b/src/features/vault/components/PoolDetails/WithdrawSection/WithdrawSection.js index f06d99b12..e21a7ed6d 100644 --- a/src/features/vault/components/PoolDetails/WithdrawSection/WithdrawSection.js +++ b/src/features/vault/components/PoolDetails/WithdrawSection/WithdrawSection.js @@ -51,7 +51,7 @@ const WithdrawSection = ({ pool, index, sharesBalance }) => { let sliderNum = 0; if (value) { inputVal = Number(value.replace(',', '')); - sliderNum = byDecimals(inputVal / total, 0).toFormat(2) * 100; + sliderNum = Math.round(byDecimals(inputVal / total, 0).toNumber() * 100); } setWithdrawAmount({