function CallStatusShortForm(status) { var statusType = parseInt(status); var shortForm; switch (statusType) { case 1: shortForm = "NI"; break; case 2: shortForm = "INT"; break; } return shortForm; }
Login to post response