The shell script shown below will show a warning if the page takes more than 6 seconds to load. The problem is that the myduration variable is not an integer. H
myduration
Assuming $myduration is a decimal or integer
$ myduration=6.5 $ myduration=$( printf "%.0f" $myduration ) $ echo $myduration 6