correct calculation but invalid result format