Bash: Round up floating numbers

Bash: Round up floating numbers

I’ve found two easy ways to round up «ceiling» float numbers with bash. Simply add «0.5» to your floating number and use printf: myfloating=$(echo «14.1129312938+0.5» | bc ) printf ‘%0.f’ $myfloating 15 Or use awk: $myfloating=14.1 echo «$myfloating»...
Installing Debian on Asus Transformer Mini T102H

Installing Debian on Asus Transformer Mini T102H

This procedure also worked for me with Asus T103H (next model of T102H). Installing Debian We must consider this device has UEFI, so the bootable pendrive must be created accordingly to it. I followed this procedure and worked great: You can do something like the...