I need a script that compare between two prices and finds which one is higher.
for example:
Code:
int a1, a2;
a1=1.1111;
a2=1.1112;
if(a1<a2)
{
Print("OK");
}
but this does not , coz the comparing is only for the numbers before the point.
I need to compare the full number with the decimal number.
I hope you understand what I mean, and help me.
