I have htmlhidden class that has two objects that i am trying to get its value.

the objects are:

<input type=hidden name="A" value="37.418828" >
<input type=hidden name="B" value="-122.094481" >

And i am using

sA = Class.Object.GetProperty("$value")
sB = Class.Object.GetProperty("$value")
Print ("{sA},{sB}")

I am getting Results as:

For some reason, it returns upto first non-aplhanumeric character. the reason i am saying this....is because if A has value="1234 testing"

it returns 1234 rather than the whole string.

any help on this is greatly appreciated.