remove conversion from NaN to 0, move string parsing in its own factory

bump version