Answers for "bash floating point variables"

0

bash floating point variables

bash do not support floting point in varibles. so 
use seq command output, 

for fp in $(seq 1.0 .01 1.1)
do
     echo $fp; other stuff too
done

https://www.oreilly.com/library/view/bash-cookbook/0596526784/ch06s13.html
Posted by: Guest on February-28-2022

Code answers related to "bash floating point variables"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language