LeetCodeAccount Balance After Rounded PurchaseAccount Balance After Rounded PurchaseEasyMathSolution export function accountBalanceAfterPurchase(purchaseAmount: number): number { const roundedAmount = Math.round(purchaseAmount / 10) * 10; return 100 - roundedAmount; }LeetCodeAccount Balance After Rounded Purchasehttps://leetcode.com/problems/account-balance-after-rounded-purchase