is there a function that rounds all numbers to the nearest whole number away from zero? basically the opposite of truncate. combining floor negative numbers and ceil positive numbers?
How about
Mathf.Sign(f) * Mathf.Ceil( Mathf.Abs(f)) ;
or even
f >= 0f ? Mathf.Ceil(f) : Mathf.Floor(f)