Correct. mIRC does its own typecasting internally. Everything is a string; nothing is stored as an int or double or whatnot. $calc(5 + 0.5bleh) returns 5.5, whereas $calc(5 + bleh0.5) returns 5. From this, we can safely conclude that not only does mIRC do its own typecasting, it also does a little error checking on the strings involved. This is quite handy to strip off trailing characters, such as when you're getting rid of the hrs on 4hrs.