Hello. I have used this code which works great when price is 1021.00, 1021.25, 1021.50, 1021.75 and 1022.00. Now i get strange price from ticket-delivery trading firm meaning prices as 1021.15, 1021.35, 1021.55. This ticket-size shouldn't be able to exist but they do so i have to code something which delivers only output courses as 1021.00, 1021.25, 1021.50, 1021.75 and 1022.00. This is swedish crona which only shall have this 25 öre ticket sizes. I have to code something as only give output at even 25 öre meaning that if price is 1021.00 -> 1021.24 the output price should be 1021.00 if price is 1021.25 -> 1021.49 the output price should be 1021.25 if price is 1021.50 -> 1021.74 the output price should be 1021.50 if price is 1021.75 -> 1021.99 the output price should be 1021.75 if price is 1022.00 -> 1021.24 the output price should be 1022.00 Can anyone help me coding this.. ; Kolla om Köp $result_ObiWan = StringInStr($var_original, "Entry Long") If $result_ObiWan < 43 And $result_ObiWan > 0 Then ; Lägg på 0.5 punkter om Köp trade ; $sStr = '15:47 ORDER "sl) Omx ObiWan - Köp Trade - Grön - Krypterat OMXS300G" kurs 1021.00' $a=StringRegExp($new,"kurs (\S*)",1) $b = $a[0] + .50 If Not StringInStr($b,".") Then $b &= ".00" $c = StringReplace($new,$a[0],$ ; ConsoleWrite($c & @LF) EndIf