• Resolved lucaspoh

    (@lucaspoh)


    Greetings to whom it may concern,

    I would like to check if there is a way to remove/hide the brackets ( ) when using the return ‘fieldname1 to fieldname7’.

    For example, using the code below:

    %Fieldname11%

    (function(){

    if(fieldname1==’ABC’) return round(fieldname2*0.5);

    })();

    %Fieldname22%

    (function(){

    if(fieldname2==’DEF’) return round(fieldname3*0.9);

    })();

    %Fieldname33%

    (function(){

    return ‘fieldname11 to fieldname22’;

    })();


    Displayed results:

    (value of fieldname11) to (value of fieldname22)

    e.g.

    (22) to (33)

    instead of

    22 to 33

    May I know how to remove the ( ) from the displayed results?

    Hope to hear from you soon.

    • This topic was modified 8 years, 1 month ago by lucaspoh.
Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello,

    You simply should modifiy the last equation as follows:

    (function(){
    return fieldname11+' to '+fieldname22;
    })();

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Removal of Brackets when using ‘ ‘ equation’ is closed to new replies.