Scale byte values FIXED by clock

System.in.eachLine{n=it as int
printf"${n<(b=1023)?n:"%.2f %cB"}\n",n/b/b**(x=n>b*b?1:0),75+x*2}

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

download

return to the top page