Error

number_format(): Argument #1 ($num) must be of type float, string given