how to allow only 2 digits after decimal in javascript
like 34.45
after reached decimal point it allows only 2 digit
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ranjit PowarRank #553 · 4.4K reputationPosted Nov 28, 2015, 4:12 AM EST
http://www.c-sharpcorner.com/code/1903/restrict-user-to-enter-value-up-to-2-decimal-places-in-javas.aspx
Mukesh KumarRank #119 · 18.2K reputationPosted Nov 28, 2015, 3:36 PM EST