Nuffilein805 Posted October 25, 2005 Share Posted October 25, 2005 ok i just made a little udf for that "problem" here it is: $a = random (1, 100) $b = DOT2COMMA($a) msgbox (0, $a, $b) Func DOT2COMMA($number) Select Case StringInStr ($number, ".") $number = StringReplace ($number, ".", ",") Return $number Case StringInStr ($number, ",") $number = StringReplace ($number, ",", ".") Return $number EndSelect EndFunc + a little demo works fine heredot2comma.au3 my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now