Disruptive
Programmer
Hi
I am keen to create an array which stores real numbers which I can then loop through. I have tried using the bash script, but I cant see any literature which states whether I can actually get real numbers into the arrays. The sort of code I have put together is:
#!/bin/bash
KT[1]= 1.0
or I have tried...
KT[2]= "1.2"
Can I do this??
How can I get real numbers into the arrays.
I am keen to create an array which stores real numbers which I can then loop through. I have tried using the bash script, but I cant see any literature which states whether I can actually get real numbers into the arrays. The sort of code I have put together is:
#!/bin/bash
KT[1]= 1.0
or I have tried...
KT[2]= "1.2"
Can I do this??
How can I get real numbers into the arrays.