The most bash way to approach this is with a brace expansion. Also it is almost always better to use built-in bash functions (for compatibility and performance reasons)
ARRAY_OF_NUMBERS=({0,1}.{0..9} 2.{0..5})
echo "${ARRAY_OF_NUMBERS[@]}"
This will amount to:
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.1 2.2 2.3 2.4 2.5
Here you can see 2 use cases of the brace expansion. One with no increment {0,1} and then the increment of one in the expansion of {0..9} and {1..5}.
Since bash does not support built-in floating point numbers pretty much everything must be handled as an integer or a string.
That said the sequence of 2"."{1..5} expands to "2.0 2.1 2.2 2.3 2.4 2.5".
Because in this case the "2" and the "." are handled as a normal string, before entering the brace expansion, since the terminator of array elements in bash is the whitespace.
This approach might seem archaic on the first glance, but as is bash in a way. The benefits are it is easily scalable, does not depend on other commands nor processes and has maximum compatibilty with other bash environments, where seq might not be available.
See this article for explanation seq vs brace expansion.
Avoid the 'seq' command in Bash?
Hope I could help anyone who stumbles upon this after me!
seqcommand if the interval is constant.