klaus Expert Licensed User Longtime User Dec 22, 2010 #1 I am missing the Int (integer) function. I know that Int is already used for the integer variable declaration, but why not Integer ? I use this workaround for the moment x1 is a Float variable: Code: Copy Dim i as Int i=x1 x1=i The Mod function does exist, but it is not mentioned in the help file. Best regards.
I am missing the Int (integer) function. I know that Int is already used for the integer variable declaration, but why not Integer ? I use this workaround for the moment x1 is a Float variable: Code: Copy Dim i as Int i=x1 x1=i The Mod function does exist, but it is not mentioned in the help file. Best regards.
Erel B4X founder Staff member Licensed User Longtime User Dec 22, 2010 #2 To avoid confusion it is named Floor: Basic4android - Core
klaus Expert Licensed User Longtime User Dec 22, 2010 #3 Thank's Erel, I wouldn't have found this. The name did sound strange to me, but googeling a bit I found that it is an already used name in other languages. It has also a counterpart Ceiling(x). Best regards.
Thank's Erel, I wouldn't have found this. The name did sound strange to me, but googeling a bit I found that it is an already used name in other languages. It has also a counterpart Ceiling(x). Best regards.
H hackhack Active Member Licensed User Longtime User Jun 26, 2011 #4 Erel said: To avoid confusion it is named Floor: Basic4android - Core Click to expand... It confused me
Erel said: To avoid confusion it is named Floor: Basic4android - Core Click to expand... It confused me
Erel B4X founder Staff member Licensed User Longtime User Jun 26, 2011 #5 Int is a variable type. For that reason it is not used as a keyword.
K kickaha Well-Known Member Licensed User Longtime User Jun 26, 2011 #6 Is it wrong that I found it amusing that klaus (he of such indepth knowledge) had missed this?.:sign0013: Makes you think that even the best (as klaus certainly is in regard to B4A) can miss the simple things.
Is it wrong that I found it amusing that klaus (he of such indepth knowledge) had missed this?.:sign0013: Makes you think that even the best (as klaus certainly is in regard to B4A) can miss the simple things.