Provato cosi ?

number_format((float)$price, 2)