float values is not accepting in bash

Hiii while doing arithmetic operations in bash scripting i got following error.

 

syntax error: invalid arithmetic operator (error token is ".3")

 

Am doing simple arithmetic operations like addition aubtraction multiplication division alone.

Tags: Linux Bash-scripting
user image Author :   connor
0

How you have used the operators. Place the code here to guide you better...

user image
jagannatharumugam April 22, 2017
Add comment