Even using $calc() the returned value isn't a number (I don't think). I believe everything is a string, atleast all scripts are that way.

mIRC don't support literal strings and real numbers afaik.