Bash: echo: scale, bc: fraction to decimalnick3499·Follow1 min read·Feb 19, 2017--ListenShareecho prints message to a Unix-like terminal. scale=4;1/16 sets four decimal places for decimal equivalent of the fraction 1/16. bc implements base conversion—convert from one base number system to another.