:muscle: implement strlib.char2num
:sparkles: fix a local function