I’m trying to compare input values. Here’s a sample of what I want to say.
if(text.input != float)
{
//code to calculate
}
I don’t want to allow values other than numbers being entered. Is this correct?
You should do something like