Convert specified value to a string with a specific format.
Syntax |
strFormat(string format, word value): string strFormat(string format, int value): string strFormat(string format, uint value): string strFormat(string format, float value): string strFormat(string format, real value): string strFormat(string format, string value): string strFormat(string format, int64 value): string strFormat(string format, uint64 value): string |
---|---|
format |
Format to be applied |
value |
Source value |
Result |
Return the formatted string |
NOTE: the format string supports all major options of the standard C library printf() function.