nominal property

String get nominal

Implementation

String get nominal {
  if(this == 1) {
    return "st";
  }else if (this == 2) {
    return "nd";
  }else if (this == 3) {
    return "rd";
  }else {
    return "th";
  }
}