lib/vendor/sugar.js
function() {
      var suffix, num = this.abs(), last = parseInt(num.toString().slice(-2));
      return this + getOrdinalizedSuffix(last);
    }
function() {
      var suffix, num = this.abs(), last = parseInt(num.toString().slice(-2));
      return this + getOrdinalizedSuffix(last);
    }
function ( ) { var suffix , num = this . abs ( ) , last = parseInt ( num . toString ( ) . slice ( - 2 ) ) ; return this + getOrdinalizedSuffix ( last ) ; }
*
@method ordinalize()
@returns String
@short Returns an ordinalized (English) string, i.e. "1st", "2nd", etc.
@example

(1).ordinalize() -> '1st';
(2).ordinalize() -> '2nd';
(8).ordinalize() -> '8th';

*
* @method ordinalize () @returns String @short Returns an ordinalized ( English ) string i . e . 1st 2nd etc . @example