in reply to File Size Conversion

There are 1024 bytes in a kb. There are 1024 kb in a mb, and so on.

So, if you want to convert 82591 bytes to kb, you divide by 1024. If you want to convert the result to an integer number, you can use int or sprintf.

------
/me wants to be the brightest bulb in the chandelier!

Vote paco for President!