Hello,
I am in pop up configuration, and my expression was working properly but now, it is not, instead showing N/A
below is my code:
function safeRound(val) {
if (IsEmpty(val)) { return null; }
var n = Number(val);
if (IsEmpty(n)) { return null; }
return Round(n);
}
function ordinal(n) {
var d = n % 100;
if (d >= 11 && d <= 13) {
return Text(n) + "th";
}
var r = n % 10;
if (r == 1) {
return Text(n) + "st";
}
if (r == 2) {
return Text(n) + "nd";
}
if (r == 3) {
return