Brian Dunning's FileMaker Custom Functions

FormattedBytes ( Bytes ; Rounding ; bitsOrBytes ; DecimalOrBinaryIEC )

Convert bit and byte to a formatted output

  Average rating: 4.2 (38 votes) Log in to vote

Stefano Monti   Stefano Monti
Plan Art
http://www.planart.it

Share on Facebook Share on Twitter

  Sample input:
FormattedBytes ( 9819 ; 1 ; 0 ; 0 )
FormattedBytes ( Length ( ContainerField ) ; 2 ; 0 ; 0 )
FormattedBytes ( FieldContaining_bites_value ; 0 ; 1 ; 1 )
  Sample output:
9,6 KB
9,59 KB
24 Kb

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Anytime you need to convert from Bytes to KBytes ( also MB, GB, TB, PB ), or from bits to Kbits ( Mb, Gb, Tb, Pb ), enjoy this function!

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.