if (!param.get("raw").isnil()) {
actualParam = param.get("raw").checkjstring();
} else if (!param.get("num").isnil()) {
if (param.get("num").isnumber()) {
LuaNumber number = param.get("num").checknumber();
NumberFormat nf = NumberFormat.getInstance(Locale.forLanguageTag(lang));
actualParam = nf.format(number.todouble());
} else {
actualParam = param.get("num").tojstring();
}
} else {
actualParam = "unknown";