`dimensions.z / 2.0`.  Use `.0` throughout for whole numbers if your intention is floating-point.

In this, case `* 0.5` is better for performance or at least it was years ago.