[ad_1]
You could just use a cast to an int like so:
int integerNumber = (int) yourFloat;
4
[ad_2]
solved How do I convert float to integer? [duplicate]
[ad_1]
You could just use a cast to an int like so:
int integerNumber = (int) yourFloat;
4
[ad_2]
solved How do I convert float to integer? [duplicate]