c# round number up
double number = 1.5362
int ceiling = Math.Ceiling(number)
//rounds number to 2
c# round number up
double number = 1.5362
int ceiling = Math.Ceiling(number)
//rounds number to 2
c# round up
double resultA = Math.Ceiling(1.02); //Mathf.Ceil for Unity
int resultB = Mathf.CeilToInt(1.02); //Unity Only
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us