Please enable JavaScript to view this site.

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.

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC