Android Question Turn of degree

cenyu

Active Member
Licensed User
Longtime User
Hi, i trying to write this code from VB6 to b4a but without success becouse i do not know this ^ on B4A. I receive Errror "input string was not in correct format.
iReturn is declared as Long
B4X:
iReturn = iReturn + (16 ^ i) * (sf.InString(base,iTemp) - 1)

Heeeeelp! :)
 

Star-Dust

Expert
Licensed User
Longtime User
B4X:
iReturn = iReturn + Power(16 , i) * (sf.InString(base,iTemp) - 1)
 
Last edited:
Upvote 0
Top