S sotik Member Licensed User Longtime User Apr 7, 2014 #1 hi guys, I need to get the max value for int numbers. With java i used Integer.MAX_VALUE...but it's possible something like that here?
hi guys, I need to get the max value for int numbers. With java i used Integer.MAX_VALUE...but it's possible something like that here?
Erel B4X founder Staff member Licensed User Longtime User Apr 7, 2014 #2 Here: B4X: Sub MaxInt As Int Return 0x7FFFFFFF End Sub Upvote 0
S sotik Member Licensed User Longtime User Apr 7, 2014 #4 i forgot to ask about MinInt and max,min value for double, sorry... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 7, 2014 #5 Here: B4X: Sub MinInt As Int Return MaxInt + 1 'or 0x80000000 End Sub Upvote 0
S sotik Member Licensed User Longtime User Apr 7, 2014 #6 Sorry Erel, i need max,min values for double too... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 7, 2014 #7 You can see the values here: http://www.b4x.com/android/forum/threads/data-type-and-range.8062/#post-45511 Upvote 0
You can see the values here: http://www.b4x.com/android/forum/threads/data-type-and-range.8062/#post-45511