How can I calculate an estimate that outputs two numbers in the same field?

Hello @zxpw

Thank you very much for using our plugin.

Yes, that’s possible. Assuming the number field is the fieldname1, you can implement the equation as follows:

CONCATENATE('$',PREC(fieldname1*5,2),' - $', PREC(fieldname1*10, 2));

The “PREC” operation PREC(X,Y) rounds the number X with Y decimals, and “CONCATENATE” concatenates its parameters.

Best regards.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer