Tp entity to the middle of a block

Solution 1:

This is exactly the type of situation that /execute align was made for:

/execute at @p align xyz run tp @e[type=armor_stand] ~.5 ~ ~.5