petr4ppc Well-Known Member Licensed User Longtime User Sep 4, 2019 #1 Dear friends, please for advice I have 2 byte value 1.byte= 3 2 byte =2 I need do Integer Division 3\2 result=1 How to do this example please in B4j? Thank you p4ppc
Dear friends, please for advice I have 2 byte value 1.byte= 3 2 byte =2 I need do Integer Division 3\2 result=1 How to do this example please in B4j? Thank you p4ppc
Erel B4X founder Staff member Licensed User Longtime User Sep 4, 2019 #2 B4X: Dim result As Int = 3 / 2 Upvote 0
petr4ppc Well-Known Member Licensed User Longtime User Sep 4, 2019 #3 Thank you very much, Best regards p4ppc Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 4, 2019 #4 Another option which is more clear: B4X: x = Floor(3 / 2) Upvote 0