support direct number conversion and fast string to number