Commit 89f3b986 authored by Arnaud Blanchard's avatar Arnaud Blanchard

Limit the number of digits in calc operations

parent 0dfadc08
......@@ -24,7 +24,7 @@ TMP_DIR="$(mktemp -d -t ${blaar_program_name}XXX)"
trap 'error=$?; rm -rf "$TMP_DIR"; [ $error = 0 ] || { echo; echo "BLAAR: error $error executing $blaar_program_name $*"; echo; exit $error; }' EXIT INT HUP TERM ABRT
echo $(echo "$@"|bc -l)
echo $(echo "scale=6; $@"|bc -l)
test_run() {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment