/ Published in: PHP
Expand |
Embed | Plain Text
function human_readable($val, $round = 0) { while($val >= 1000) { $val /= 1024; } }
You need to login to post a comment.
tylerhall on 11/30/-1
scott textmate bytesize math human readable
21 people have marked this snippet as a favorite
bomberstudios
daniel
Roshambo
neverwolf
ndegruchy
irdial
vaaaska
blakeb
fael
marteki
chucktrukk
Firemarble
mb
Keef
nicogranelli
JimiJay
dantreacy
mecha
SevenLayersDesign
tasmanweb
ringo380
function human_readable($val, $round = 0) { while($val >= 1000) { $val /= 1024; } }
You need to login to post a comment.