PDA

View Full Version : working with return from getValue



walfridson
02-23-2010, 07:16 AM
curVal = mapEdit.getValue(poly[2]);
var temp = 0.0;
temp = curVal.asNum();
writeFile.writeln(curVal.asStr() + " : " + temp.asStr());
This lines gives me:
1 : 0

Any ideas why?


edit: nm.... working with it as a string instead worked fine.