handle scientific notation in bc