Function __global->get_ordinal_suffix

Definitions

sources/lang.php

  • Get the ordinal suffix (e.g. nd, rd, st) for a number.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$index integer required parameter N/A N/A Number to do this for

Return

  • The suffix
  • Type: string
  • Set: N/A
  • Range: N/A