Is it possible to get only the suffix of a number with the NumberFormatter class in PHP.
For example:
$nf = new NumberFormatter( 'en', NumberFormatter::ORDINAL );
$out = $nf->format( 10000 );
echo $out . "\n";
Will result in: '10,000th'
I would just like: 'th', i.e. the suffix.