Answers for "unity round int"

C#
3

unity round int

//int
int sayi = 0;
sayi = ((int)(((int)(sayi / 10)) * 10));
//float
float sayi;
sayi = ((float)(((int)(sayi/10))*10));
Posted by: Guest on January-15-2021

C# Answers by Framework

Browse Popular Code Answers by Language