Looking for .NET Math method that will zero a negative integer May 29, 2023 by Tarik It’s called Math.Max: Math.Max(0, x)