- Home /
Question by
DGKN · Jul 10, 2014 at 04:08 PM ·
optimizationfloatint
Code optimization using int instead of float ?
Hey guys,
Between float variable = 5; and int variable = 5;
is there any performance gain when using the latter ?
Comment
Best Answer
Answer by iamthecoolguy11 · Jul 10, 2014 at 04:14 PM
No float and int as long as the float dose not have a decimal it well be just as efficient as a int. latter?
Your answer
Follow this Question
Related Questions
Convert a char to int / float 2 Answers
Javascript int to float 1 Answer
float = int / int float value always 0 1 Answer
Having a GUI text as a int 3 Answers