Android Question Integer.parseInt and Long.toHexString in basic4android

Najirm

Member
Licensed User
Longtime User
B4X:
 String hashTwo="A28904048E";
        long sum=0;
        for(int i=0;i<hashTwo.length();i+=2){
            sum+=Integer.parseInt(""+hashTwo.charAt(i)+hashTwo.charAt(i+1),16);
        }
        System.out.println(Long.toHexString(sum));
What is the equivalent b4a statement for Integer.parseInt & Long.toHexString(which is in java)
 
Top