Typescript Parse Number From String