Yep, thats your problem.
You cannot use commas or anything in that number system.
Commas are a way of easily reading large numbers and should never be used when entering data. It's more a human-ease thing... but it makes it hard for computers.
Especially when you consider that Europe would right $1,999.99 as $1.999,99
And thats why we don't input commas