String from imp to Agent shown as Decimal

Is this correct behaviour?
//Agent log
Sat, 09 Feb 2013 18:47:27 GMT: impSensorValues:19.367 54.637
//Imp log
Sat, 09 Feb 2013 18:47:27 GMT: temp 19.3C humidity 54.6%
67=C & 37=%

`
agent.send(“sensorValues”,{tmp=tempOut,tmpEng=‘C’,rh=humOut,rhEng=’%’});

device.on(“sensorValues”,function(_v){
server.log(“impSensorValues:”+_v.tmp+_v.tmpEng+" "+_v.rh+_v.rhEng);
}
);`

This is correct behaviour. The literal ‘C’, with single quotes, is a character, not a string – as is the literal ‘%’: see http://www.squirrel-lang.org/doc/squirrel3.html#d0e335
What you probably wanted is “C” and “%” (i.e., with double quotes).

C++ works the same way, though admittedly Javascript doesn’t.

Peter

Peter thanks