You are viewing a single comment's thread. Return to all comments →
value=` echo "$word " | bc -l `
echo $value | python -c "print round(float(raw_input()),3)"
Bro!!!! U r genius man!!
calling python interpreter for a simple rounding is an overkill. printf will be enough to do this.
What is -L doing here? and -c?