on mIRC 7.76 $base(51.4,10,10) returns 51.39999A


#mircscripting @ irc.swiftirc.net == the best mIRC help channel