bash list of integers

Shell
vals=($(seq 0 0.1 2.5))
Source

Also in Shell: