Basically in Bash, what I'm trying to do is take a input of seconds from a user and find the hours. So basically if the user enter 35 the output should be 0.00972222.
But bash gives me is a zero.
heres the command I have:
echo "Enter the seconds you wish to convert to hours: " && read sec && echo " $((sec/3600)) is the amount of hours "
Is there a way I can make it so it prints out 0.00972222 if I enter 35.