splitblock convert to double then to int