Magical moving decimal point

Solomon had 4,000 stalls and 12,000 horsemen in
- 2 Chron 9:25

Yet he had 40,000 stalls and 12,000 horsemen
- 1 Kings 4:26