parse numeric types as string