Hello,
Its been a while here now. But I had lot of help earlier.
Im facing one issue in conversion:
In the current code,
iXOffset is coming as 21.
But if i change to
Or
long iXOffset = Xmin % 50;
it is coming correctly as 25
Why is the current declaration of "unsigned long " causing the issue ? Please help urgently
thankyou very much
~p
Its been a while here now. But I had lot of help earlier.
Im facing one issue in conversion:
In the current code,
Code:
long Xmin = -228725;
long Ymax = 10023525;
unsigned long uiRes = 50;
long iXOffset = Xmin % uiRes;But if i change to
Code:
long Xmin = -228725;
long Ymax = 10023525;
int uiRes = 50;
long iXOffset = Xmin % uiRes;long iXOffset = Xmin % 50;
it is coming correctly as 25
Why is the current declaration of "unsigned long " causing the issue ? Please help urgently
thankyou very much
~p