``convert_numeric`` is the standard (now), either that or what you have is fine (and we change the latter at some point).