Created
March 2, 2023 09:05
-
-
Save roblav96/e31c03b223572b61aa61b742b4e1981d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...document.querySelectorAll('input')].forEach(el => el.value = (Math.round((el.value * 0.875) * 100) / 100).toFixed(2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment