+ 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
1 ответ