I was taught in school that it is a rule for Americans to read 45,671 as "forty-five thousand, six hundred seventy-one" whereas for British people as " forty-five thousand, six hundred and seventy-one" .
As for your question (40,500), I have googled as follows to know how people read it...