- Home /
Xf notation vs just a number?
Whhat does the f label signify when a number has a f appended to it - for example var x=10f;
- how is that different than var x=10
?
sorry for the elementary question, but if the variable is declared as a float, is it redundant to add the f?
Comment
sorry for the elementary question, but if the variable is declared as a float, is it redundant to add the f?
Your answer
![](https://koobas.hobune.stream/wayback/20220613130815im_/https://answers.unity.com/themes/thub/images/avi.jpg)