PHP
$score = 105;
$score_text = sprintf("%s%d", $score % 10 < 5 ? "オーバー" : "アンダー", round($score, -1));
echo $score_text;
# アンダー110
Python3
# -*- coding: utf-8 -*-
score = 105
score_text = "%s%d" % (("オーバー", score // 10 * 10) if score % 10 < 5 else ("アンダー", (score // 10 + 1) * 10))
print(score_text)
# アンダー110