Add support for TB when reporting bytes
Add support for TB when reporting bytes

Forum: https://forum.pfsense.org/index.php?topic=106470.0
I believe that this should work OK on both 32 and 64 bit systems. A 32-bit system will convert big values of $bytes and big numbers like 1099511627776 to float first, then do the comparison. 64-bit systems will do (int) comparisons. Either way, in the end, the value is sprintf() into a float anyway.
I have tested on a 64-bit system.
I don't have access to a 32-bit system right now, so somebody should check that to make sure my theory works in practice.
ptorsten/pfsense,BlackstarGroup/pfsense,ch1c4um/pfsense,NOYB/pfsense,pfsense/pfsense,brunostein/pfsense,brunostein/pfsense,dennypage/pfsense,phil-davis/pfsense,ch1c4um/pfsense,phil-davis/pfsense,phil-davis/pfsense,phil-davis/pfsense,dennypage/pfsense,ch1c4um/pfsense,dennypage/pfsense,pfsense/pfsense,ptorsten/pfsense,NOYB/pfsense,NewEraCracker/pfsense,dennypage/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,pfsense/pfsense,NOYB/pfsense,BlackstarGroup/pfsense,jxmx/pfsense,brunostein/pfsense,ptorsten/pfsense,NewEraCracker/pfsense,NewEraCracker/pfsense,jxmx/pfsense,pfsense/pfsense,jxmx/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense