First, when I run, it throws:
*** Uncaught Exception for agent BookBuyerAgent0 ***
java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.String
I guess, because a double has been set to the second place of Object Array, and now I can not convert it to string?!.
Actually what I want to do is just to convert an element of object array to a double value! thats all!
second, sorry for double posting, was a mistake. I've tried but I didnt know how to delete.