#!/usr/local/gnu/bin/bash
readonly mul=100000000
readonly mullen=${#mul}
read t x
tmp=`printf "%0${mullen}d" $((t*mul/x))`
tmplen=${#tmp}
slen=$((tmplen-mullen+1))
mlen=$((tmplen-slen))
echo ${tmp:0:$slen}.${tmp: -$mlen}
