How to round a float to two decimal places c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to round a float to two decimal places c#

I’m trying to use a controller with unity but the controller sticks don’t reset to (0,0) so the camera is constantly moving I need the inputs put that are put into the code to be rounded to two decimal places https://code.sololearn.com/cYh1bI7ps4Uu/?ref=app

9th Feb 2019, 5:15 PM
Reece
Reece - avatar
0 Answers