Scale byte values by pooq

File standardInput readLines map(asNumber)map(v,u:="";writeln(if(v<k:=1024,v,(1e-6+v/k/if(v<k*k,u=" KB";1,u=" MB";k))asString(0,2)),u))

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page