From 749d140ae12a0659abd5fe954d1e793e43e7a51c Mon Sep 17 00:00:00 2001 From: Juliano Dotto Date: Tue, 14 Apr 2015 14:56:23 -0400 Subject: [PATCH] Create FloatDivision.sh --- FloatDivision.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 FloatDivision.sh diff --git a/FloatDivision.sh b/FloatDivision.sh new file mode 100644 index 0000000..fb7bf07 --- /dev/null +++ b/FloatDivision.sh @@ -0,0 +1,3 @@ +#!/bin/bash +#scale will define how long will be your number after the decimal point +echo "scale=2; 3.0/2" | bc