04-19-2022 03:33 PM - edited 04-19-2022 03:33 PM
@StevenD wrote:
Can I ask what that function is?
Yes, I was intentionally more obscure than needed (so people like you occasionally learn something new 😄 ). Here's the same with less code.
04-19-2022 04:00 PM
Hi;
you need to better specify the type of number.
based on the luck of information , you find attached an example that could help solve your problem.
you could count the number of digit befor , after the dots ( the input control type : string ).
04-19-2022 04:57 PM
Let's not forget, any good programmer optimizes their code. (Some limitations may exist)
04-19-2022 05:09 PM
Maximum optimization achieved