22. Oktober 2006 um 02:02 #1 Hallo zusammen,bräuchte einmal Eure Hilfe.Ich habe Zahlen im Format "4.160,00" und daraus soll "4160" oder "4160.00" werden.Hat jemand 'ne Idee wie dies in AutoIt geht? Bei der Hilfe zu StringFormat blicke ich nicht so ganz durch...Gruß,Timo
22. Oktober 2006 um 02:50 Offizieller Beitrag #2 Guten Morgen und :willkommen:![autoit]MsgBox(0, '', _Format("4.160,00"))[/autoit][autoit][/autoit][autoit]Func _Format($_zahl) $_res = StringLeft($_zahl, StringInStr($_zahl, ",") - 1) $_res = StringReplace($_res, ".", "") Return $_resEndFunc[/autoit]Getestet, sollte gehen.peethebee