INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Filesize in Bytes  (Read 1429 times)

BeGood

  • Recent member
  • *
  • Posts: 18
Filesize in Bytes
« on: September 28, 2016, 05:58:37 pm »

Hi,

how can I display the filesize in Bytes (no MB, no GB, etc.), played with FormatFileSize(Filesize,0), but couldn't figure it out...

Thx
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Filesize in Bytes
« Reply #1 on: September 28, 2016, 06:23:51 pm »

For any field that has a "friendly display" format normally, you can access it's raw value too.  For example, the [Date] field shows you a nicely formatted human readable output when you call it as [Date].  To see the raw value, do it like this:
[Date,0]

So,
[File Size,0]
will show you the raw value of [File Size], which is in bytes.

Brian.
Logged

BeGood

  • Recent member
  • *
  • Posts: 18
Re: Filesize in Bytes
« Reply #2 on: September 28, 2016, 06:35:15 pm »

works, that's what I was looking for...

Thanks a lot
Logged
Pages: [1]   Go Up