• Resolved r4ptor

    (@r4ptor)


    I’m really loving Forminator and one thing which I miss the most and which would make it so much better for me, would be the ability to round natural numbers, if possible.

    I’m currently working on a price calculator and for the services I offer (photography), rounded prices like 1250 looks much better than something like 1234.

    I’m not sure if there’s a term for it, but I’d love the ability to round to nearest “nice numbers” such as 25, 50, 100, 250, 500, 750 and 1000.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @r4ptor,

    Could you please give couple of examples, of the numbers that’ll be entered and to what it’ll rounded too?

    Based on your description, you’d likely prefer to round numbers to values such as:

    • Multiples of 25 (e.g., 1025, 1050, 1075, 1100)
    • Multiples of 50 (e.g., 1150, 1200, 1250, 1300)
    • Multiples of 100 (e.g., 1400, 1500, 1600, 1700)
    • Multiples of 250 (e.g., 1750, 2000, 2250, 2500)
    • Multiples of 500 (e.g., 3000, 3500, 4000, 4500)
    • Multiples of 1000 (e.g., 5000, 6000, 7000, 8000)

    Right?

    Could you please advise so that we could have a better idea regarding the feature and check whether it’s something which could be considered in future?

    Kind Regards,

    Nithin

    Thread Starter r4ptor

    (@r4ptor)

    Thank you for the quick response.

    If you added a possibility for automatic rounding like in your examples, then that would be nice, but Ideally, I’d prefer to be able to control how to round (50, or 250 or 1000 etc).

    No numbers are entered. I have 2 sliders as the main drivers to calculate a price. One is for how long I will be working and the other is for the amount of images a client wants. I also have additional options for extras and discount option.

    By tweaking just the sliders, I might get numbers like 4800 or 14150. I’d prefer to have them shown as either 5000 and 14000 or 4750 and 14250.

    Traditionally speaking, it is very common for wedding photography, which this is for, to have packages where a client may get 500 or 700 images, for the same price. I therefore prioritize better looking prices over accuracy of a price.

    I hope that helped.

    Hi @r4ptor

    The details you have shared seem to be too complex for sliders. Did you consider checkboxes or dropdowns and then simple calculations, which will also include your discounts? In short, this will allow you to generate some sort of package in the final calculation.

    Kind Regards,
    Kris

    Thread Starter r4ptor

    (@r4ptor)

    I’ve already created it and it’s working wonderfully. I’d just like to display rounded final price.

    Hi @r4ptor

    The suggestion I have shared should help to display rounded prices. For example, create checkboxes and each label will say something like:

    How many pictures:

    • 100-200 / fixed price
    • 200-300 / fixed price
    • 300-500 / fixed price
    • 700-1000 / fixed price

    Please note that with extras price will be possibly rounded, but I have a feeling that discounts will still not make that easy in the final price if I get this right.

    On the other hand, you can rely on plans with fixed prices where that price will be already rounded:
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#payment-plans

    In the end each plan will have own price and will be picked up depending from checkbox selection.

      Kind Regards,
      Kris

      Plugin Support Saurabh – WPMU DEV Support

      (@wpmudev-support7)

      Hello @r4ptor

      We haven’t heard from you in a while, I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!

      Kind Regards,
      Saurabh

    Viewing 6 replies - 1 through 6 (of 6 total)

    The topic ‘Feature request: rounded numbers’ is closed to new replies.