Seeking guidance on how to prevent multiple decimal points in user-input numbers. For example, if a number like 23.4 is typed, the second dot should not be accepted as there is already a decimal point present. Similarly, if someone enters a number as 2..., it should only display as 2 with the excess dots disregarded. Any suggestions on how to achieve this functionality?