parsing a string input into a number in angular 2

visit shbcf.ru