• Resolved elena8668

    (@elena8668)


    Good afternoon!
    The site page contains a calculator. I need that if the value is less than 50 (slider), the minimum amount is 3000 rubles. At the moment, there is such a formula: fieldname3*60+(fieldname3*fieldname4)+fieldname7. Where: fieldname3 – THE AREA OF THE APARTMENT WITH A BALCONY, fieldname4-ADDITIONAL SERVICES, fieldname7-CALCULATION OF THERMAL IMAGING INSPECTION. How to set fieldname3*60 to start counting the formula from the value 50, and before that there was a minimum amount of 3000. At the same time, ADDITIONAL SERVICES also started its countdown from 30.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @elena8668

    You should use the MAX operation in your equation, similar to:

    
    MAX(fieldname3*60, 3000)+fieldname3*MAX(fieldname4,30)+fieldname7
    

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘The formula.’ is closed to new replies.