Awk oneliner for convering float to interger
echo 2.52690284 | awk '{printf "%.0f",$1}'</p>
if in bash script
$SPEED="3.2"
SPEED=$(echo $SPEED | awk '{printf "%.0f",$1}')
echo $SPEED
Good for Nothing
if in bash script
$SPEED="3.2"
SPEED=$(echo $SPEED | awk '{printf "%.0f",$1}')
echo $SPEED