- Home /
Math.round not work
i have a float : lahmacunbuff = 3.16666 how can i make it 3
i tried this but aint work math.Round(lahmacunbuff)
Comment
Best Answer
Answer by Eric5h5 · Dec 18, 2010 at 09:30 PM
It's Mathf.Round, not math.Round.
2 words a " , " and 2 references. I couldn't explain it better if I tried, and most certainly not using less words or symbols! +1
Your answer
![](https://koobas.hobune.stream/wayback/20220613091558im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
"bleeding" when using configurable joints 2 Answers
Math Round? 2 Answers
Is it possible to round down 0.99 to 0? 2 Answers
Simple Calculator for kid math app? 3 Answers
Rounding 235000 to 235? 2 Answers