ByteSize ( bytes ; precision )
Converts bytes to a magnitude-appropriate unit of measure
Average rating: 4.4 (30 votes) Log in to vote
Jeremy Bante https://github.com/jbante/ |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Converts bytes to a magnitude-appropriate unit of measure.
Comments
belg4mit Aug 22, 2022 |
||
To change 0 YB to 0 B for bytes=0, change the second magnitude line to: ~magnitude = Min ( Max(~magnitude ;0); 8 ) // don't exceed known magnitude units, and catch 0 bytes |
||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.