Last post Dec 24, 2015 06:53 AM by Lokesh B R
Dec 24, 2015 06:43 AM|vivekbuv|LINK
i developed website and i want to divide the value
this was working
when i put like this
this was not working
Dec 24, 2015 06:53 AM|Lokesh B R|LINK
You cannot have the 2.5 in the integer variable.
You need to use DOUBLE.
double value1 = 2.5;
double value2 = 9;
double value3 = value2 / value1;