up to the ceiling decimal code example Example: c# mathf.ceiling //C# Math.Ceiling(value); //Unity C# Mathf.Ceil(10.0f);