Having a problem converting the following number (bytes) into MB. The number is 8068508441. The results I get are as follows:
KB,s = -509295
MB,s = -497
If I use the number 475397672, I get
KB,s = 464255
MB,s = 453
The way I am converting is:
%bytes%=8068508441
%KB%=%bytes%/1024
%MB%=%KB%/1024
I will attach my script so you can look at it and tell me where I am going wrong. Seems the lower number is working. Thanks
10421-Test.sf6
KB,s = -509295
MB,s = -497
If I use the number 475397672, I get
KB,s = 464255
MB,s = 453
The way I am converting is:
%bytes%=8068508441
%KB%=%bytes%/1024
%MB%=%KB%/1024
I will attach my script so you can look at it and tell me where I am going wrong. Seems the lower number is working. Thanks
10421-Test.sf6
Comment