• Resolved kabney

    (@kabney)


    The second field on this page is a number field. I would like to know if there is a way to keep the percent sign always displaying. Like it does in the 4th field. The 4th field is a calculated field however and you can set it that way.
    I have it as a placeholder in 2nd field but as soon as you enter information, it goes away. Also, is there a way to have it display 2 decimal points as well? example: 12.00%
    thanks,

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello,

    I recommend you to emulate the percentage field with a currency field, entering the “%” symbol as the “Currency” attribute, and ticking the checkbox: “Format Dynamically”

    Best regards.

    Thread Starter kabney

    (@kabney)

    thanks for the fast response!
    How can I make the calculated field display that way with 2 decimal points in the 4th field? I saw something about this NUMBERFORMAT(25000.123456, ‘percent’) in the documentation but wasn’t sure how to apply it in this case. Also can the percent sign be at the end and not the beginning? Great plugin

    Plugin Author codepeople

    (@codepeople)

    Hello @kabney,

    The solution is simpler, instead to use the “CEIL” operation, whose result is the integer number equal or greater than the operand, you should use the “PREC” operation.

    PREC(X,Y) returns the “X” number rounded with “Y” decimal digits.

    So, the correct equation would be:

    PREC(fieldname9/1.2, 2)

    Best regards.

    Thread Starter kabney

    (@kabney)

    awesome! Now is there any way to have the % symbol display after the numbers instead of before? best support I have seen!

    Plugin Author codepeople

    (@codepeople)

    Hello,

    Yes of course, simply enter the “%” symbol into the attribute “Symbol to display at the end of calculated field”

    Best regards.

    Thread Starter kabney

    (@kabney)

    What about the currency field? The second one is a currency field, not a calculated field. Is there a way to do that in the currency field?
    You have been very helpful.

    Plugin Author codepeople

    (@codepeople)

    Hello @kabney,

    As I said in a previous ticket, for the currency fields you should enter the % symbol through the “Currency” attribute, and not the “Currency Symbol” attribute.

    Best regards.

    Thread Starter kabney

    (@kabney)

    oh, I see. Thank you so much!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘always show percent symbol at end in a number field always’ is closed to new replies.