RAIMAD

raimad.round_half_up

def round_half_up(n: float) -> int:

Round float to int, always rounding .5 up.
Python's builtin `round` does Banker's AKA Scottish rounding. Half up rounding is more suited for geometry tasks.
Parameters
nfloat
the number to round
Returns
int
the rounded value of n, as an int.