• Resolved supersvetodiod

    (@supersvetodiod)


    good afternoon, I’m using the decimaltoscientific(x) function. tell me what I’m doing wrong, it doesn’t return the data

    ROUND((function(){
    var result = ”;
    if( AND(fieldname40, fieldname3) ){
    result = decimaltoscientific((fieldname40/fieldname33.5e4)); jQuery(‘.text-here’).html(‘Power ( P ), W’); } else if( AND(fieldname40, fieldname2) ){ result = fieldname40/fieldname2; jQuery(‘.text-here’).html(‘Time ( T ), s’); } else if( AND(fieldname3, fieldname2) ){ result = fieldname3fieldname2;
    jQuery(‘.text-here’).html(‘Energy, ( W ) J’);
    }

    return result;

    })(),0.001)

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

    (@codepeople)

    Hello @supersvetodiod

    Your equation has some issues.

    For example, I don’t understand the piece of code:

    fieldname33.5e4

    In the following piece of code you do not included the operator:

    result = fieldname3fieldname2;

    Best regards.

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