changed price calc from integer to floating point