I need to make a simple floating point operation: 
I tried to use both BC and awk with no success... 

```
remainingTime=$(((duration/numOfRevisions)*remainingRevision))
echo  "$(($remainingTime / 60)) minutes and $(($remainingTime % 60)) seconds remaining."

```

All variables are integer numbers (duration is the number of seconds) 
My problem is to calculate the variable remaining time, so as to use print formatted in the second line. 

my attempt in `Awk`

```
remainingTime=$(awk "BEGIN {printf \"%.2f\",${duration}/${numOfRevisions}*${remainingRevision}}‌​"

```