home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 February
/
PCWorld_2006-02_cd.bin
/
software
/
vyzkuste
/
triky
/
triky.exe
/
autoit-v3-setup.exe
/
Examples
/
StringFormat.au3
< prev
next >
Wrap
Text File
|
2004-09-22
|
291b
|
9 lines
$string = "string"
$float = 12.3
$int = 345
$s =StringFormat ( "var1=%s var2=%.2f, var3=%d" ,$string, $float, $int )
$msgbox(0, "Result", $s)
; will output "var1=string var2=12.30 var3=345"
; notice the 12.30 done with the %.2f which force 2 digits after the decimal point