Shows NaN when putting in amount 10000+