veertigduizendachtenvijftig
Ordinal (40058th): veertigduizendachtenvijftigste
The converter also handles times and prices, with a listening drill to make them stick.