#!/bin/sh
a=2
b=3

echo "scale=1; (100 * $a / $b)" | bc
#Result is 66.6