Fixed method

replace the number method with the parseInt method