I have a text field with the format as numbers.
I want the input numbers to be whole numbers(Decimals not allowed) including zero.
Currently, I'm using the below code on the OnChange property. But it is not allowing 0.
If(
Value(TextField.Text) / Value(
RoundDown(
Value(TextField.Text),
0
)
) <> 1,
Notify(
"Decimals not allowed,please try again!",
NotificationType.Error
);
Reset(TextField)
)