There are no decimals and hundredths of megabytes in the file size.

Advertisement

Rostov
Joined:
Posts:
4

There are no decimals and hundredths of megabytes in the file size.

OS: Windows 7 Home Premium (x64)
WinSCP: 5.19.5 (Build 11933 2021-11-25)

I'm using a Commander type interface. For the file size I use the 'Short format' option. Why are the decimals and hundredths of a megabyte not displayed for files larger than 99 MB? Can it be changed somehow, and if not, will it be possible?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
36,712
Location:
Prague, Czechia

Re: There are no decimals and hundredths of megabytes in the file size.

In the short format, WinSCP displays three significant digits. That's what makes the format "short".

Reply with quote

Rostov

Re: There are no decimals and hundredths of megabytes in the file size.

So that means there is no way to display the file size in a format such as 10.25 MB?

Reply with quote

martin
Site Admin
martin avatar

Re: There are no decimals and hundredths of megabytes in the file size.

How would your define the format you are after? Do you want to show four significant digits? Or what exactly?

Reply with quote

Rostov

Re: There are no decimals and hundredths of megabytes in the file size.

I mean a file size format such as in the FileZilla client, where you can specify the number of digits after the decimal point. From 1 MB to 1024 MB. Above 1 GB, you could specify tenths or hundredths of a gigabyte.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: There are no decimals and hundredths of megabytes in the file size.

WinSCP does not support such format. We will see, if more people ask for this.

Reply with quote

Rostov

OK, but don't you think that the short format should have the correct rules for rounding numbers after the decimal point? For example:

A file that is 112 562 KB or 109.923828125 MB (in binary) is displayed as 109 MB by WinSCP in short format. Shouldn't it be 110 MB already?

Reply with quote

Advertisement

You can post new topics in this forum