NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_FormatNum.nxc

This is an example of how to use the FormatNum function.

task main()
{
int x = -10;
string msg = FormatNum("value = %d", x);
TextOut(0, LCD_LINE1, msg);
}