luke2012 Well-Known Member Licensed User Longtime User Nov 6, 2012 #1 Hi to all, I need to convert a string into a number. example : "001" = 1 "002" = 2 ........ There is a specific function or the casting can be done in other way?
Hi to all, I need to convert a string into a number. example : "001" = 1 "002" = 2 ........ There is a specific function or the casting can be done in other way?
NJDude Expert Licensed User Longtime User Nov 6, 2012 #2 Like this: B4X: Dim a As String Dim b As Int a = "001" b = a Msgbox(b, "") Upvote 0
J Jost aus Soest Active Member Licensed User Longtime User Nov 6, 2012 #3 Some conversation routines: http://www.b4x.com/forum/basic4android-updates-questions/22302-equivalent-vba-clng.html#post129499 Upvote 0
Some conversation routines: http://www.b4x.com/forum/basic4android-updates-questions/22302-equivalent-vba-clng.html#post129499
luke2012 Well-Known Member Licensed User Longtime User Nov 8, 2012 #4 Thanks for your reply! Upvote 0