Hi
I'm having trouble with "Error converting argument 1 to type class DoubleArray " in vb-script.
I understand that it is a text vs number issue but it just wont work.
I have a session who look like this.
Session("apa") = "3.00,3.00,3.00,3.00,3.00,3.00,3.39"
I've tired this
data = Array(Session("apa"))
and this
nisse = split(Session("apa"),",")
data = Array(nisse)
and i have also tried this
nisse = split(Session("apa"),",")
for x = 0 to ubound(nisse)
nsse(x) = int(nisse(x))
Next
data = Array(nisse)
But nothing works except this
data = Array(3.00,3.00,3.00,3.00,3.00,3.00,3.39)
It it possible to do (something) like this - in vbscript/asp - or must I use 1 session per number I want to display?
/Cast |