Unfortunately converting reals to strings requires local context... Thus you need to use a method in MCExecContext (which needs implementing ;)):
```
if (!ctxt . FormatReal(messages[i] . time, &t_time_string) ||
    !MCListAppendInteger(*t_msg_info, messages[i] . time))
  return false;
```