We calculate the operator norm of the weighted composition operator from a weighted Bergman space to a weighted-type space on the unit ball of C(n). We also characterize the compactness of the operator.