center marker in block

how can i center a marker in a block no matter in wich part of the block i summon it? i'm trying to use a scoreboard to round the values and it's rounding the values but i can't insert it back
Continue to help post