• Resolved hheyhey568

    (@hheyhey568)


    Hello Team,
    I have a number -4385.803.
    Nthroot(-4385.803,3)=gives correct value of -16.3687 but
    POW(-4385.803,1/3) gives error.

    What is the reason? I believe both should give the correct answer.

    Please clarify.

    regards,

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

    (@codepeople)

    Hello @hheyhey568

    In our plugin, the POW operation is a shortcut to the javascript method Math.pow and Math.pow(-4385.803, 1/3) is equal to NaN (not a number).

    To calculate the nth root of a number, you must use the NTHROOT operation:

    
    NTHROOT(-4385.803,3)
    

    Please, remember that javascript is case-sensitive. You can use NTHROOT or nthroot but not Nthroot.

    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Nthroot & POW’ is closed to new replies.