cirollo Active Member Licensed User Longtime User Jan 18, 2012 #1 Hi! I cannot figure out why this doesn't work: B4X: If TxtImpUni.Text.Contains(",") Then TxtImpUni.Text.Replace (",",".") End If if my string is 123,45 I expect 123.45 but remains 123,45 Why??????
Hi! I cannot figure out why this doesn't work: B4X: If TxtImpUni.Text.Contains(",") Then TxtImpUni.Text.Replace (",",".") End If if my string is 123,45 I expect 123.45 but remains 123,45 Why??????
klaus Expert Licensed User Longtime User Jan 18, 2012 #2 This code does work: B4X: TxtImpUni.Text = TxtImpUni.Text.Replace(",", ".") Best regards. Upvote 0