Martin006 New Member Feb 23, 2016 #1 Is there anyway to parse string int to integer? like vb syntax? Thank u for answering
Erel B4X founder Staff member Licensed User Longtime User Feb 24, 2016 #2 It happens automatically: B4X: Dim i As Int = "23" Upvote 0
victormedranop Well-Known Member Licensed User Longtime User Oct 12, 2017 #3 If you try to sum from extract a list get error Victor Upvote 0
DonManfred Expert Licensed User Longtime User Oct 13, 2017 #4 victormedranop said: If you try to sum from extract a list get error Click to expand... You should create a new thread for your problem posting the relevant code and the complete error message! Or better: Upload a small project which shows the problem! FOR SURE in the new thread.... Upvote 0
victormedranop said: If you try to sum from extract a list get error Click to expand... You should create a new thread for your problem posting the relevant code and the complete error message! Or better: Upload a small project which shows the problem! FOR SURE in the new thread....
victormedranop Well-Known Member Licensed User Longtime User Oct 15, 2017 #5 I used this function, maybe is not the more elegant way to do it. But works like a charm for me. B4X: Sub Parse_int(s As String) As Int Dim amount As Int amount = s.Replace(",","") Return amount End Sub Upvote 0
I used this function, maybe is not the more elegant way to do it. But works like a charm for me. B4X: Sub Parse_int(s As String) As Int Dim amount As Int amount = s.Replace(",","") Return amount End Sub