Hi
Im trying to make some calculations within a program.
What i understand i cant make an input in decimals like 1.2345 in an input box an convert it to a number like this:
inputp1tom = Input.GetText("p1tom");
inputp1tom = String.ToNumber(inputp1tom);
so what do i need to do to make it take a 4 decimal number and make a calculation against another number and give a 4 decimal answer.
This is my code:
inputp1tom = Input.GetText("p1tom");
inputp1tom = String.ToNumber(inputp1tom);
inputp1vat = Input.GetText("p1vat");
inputp1vat = String.ToNumber(inputp1vat);
gramfargp1 = inputp1vat - inputp1tom
Label.SetText("p1farg", gramfargp1);


