magicmt
October 17th, 2008, 12:42 AM
the below script works with whole numbers, but not decimals. how do i get it to work with decimals?
#!/bin/bash
echo -n "enter a number "
read num
echo $[$num*3600-3]
#!/bin/bash
echo -n "enter a number "
read num
echo $[$num*3600-3]