Some weird math when save number from scoreboard into custom data.

I try co calculate placement of block displays in shape of circle, but numbers screws up when I save them but they calculate right. I don't know how fix it
Continue to help post