I'm trying to get numbers behind decimal point and use them in another statement.
for example:
int input1;
float x;
if (input1 >= 500)
{
x = input1 / 500
}
if input1 == 1700
then x
would be 3.4
. Now I only need .4 to work with it in the next statement. Is there a way to do it?