I am attempting to divide the file size recorded by
File.FileSize. I have
the variable set to the File.FileSize / 1024 (number of kb in
a mb). It
displays too large so I changed it to 10240 which seems to
make it work
better. But now it seems off again.
A 139512 kb files shows a 13 mb file. I am confused.
To round the number I am using:
#LSNumberFormat(sizeleft,',999.99')#
Is that causing the problem or am I missing something here?
All I want to do is display the file size in Mb down to a 2
decimal place.
Ex: 3.21 MB
--
Wally Kolcz
Developer / Support