Username Password
Bookmark and Share


This macro returns an given byte value in human readable format. You can pass up to two parameters to the macro: byte value and digits after decimal. The first parameter represents the byte value to be transformed. This parameter is mandatory. The second parameter specifies the digits after the decimal point. The default is 0. This parameter is optional. Usage ^HRF(byte-value); ^HRF(byte-value,digits-after-decimal); Installation To enable this macro copy this file to your WebGUI macro directory [WebGUI_ROOT]/lib/WebGUI/Macro and add the line HRF=>HRF, \ to your WebGUI conf file. When using ModPerl restart your webserver. Uninstallation To uninstall this macro remove the line HRF=>HRF, \ from your WebGUI conf file and delete this file from your WebGUI macro directory [WebGUI_ROOT]/lib/WebGUI/Macro. When using ModPerl restart your webserver. Examples ^Size(12); reports 12 B. ^Size(1024); reports 1 kB. ^Size(1048576); reports 1 MB. ^Size(1183741824); reports 1 GB ^Size(1183741824,1); reports 1.1 GB ^Size(1183741824,2); reports 1.10 GB ^Size(1183741824,3); reports 1.102 GB

System RequirementsPlease be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.
LinksNo Support Offered
Statistics Downloads: 727
Views: 7166
Rating: 0
Updated: 8/12/2005
Keywords macros
NavigationBack to the Bazaar
© 2022 Plain Black Corporation | All Rights Reserved