JavaScript Math exp() methodThe JavaScript math exp() method returns the exponential form of the given number i.e. ex. Here, x is the argument and e is the base of natural algorithms. SyntaxThe exp() method is represented by the following syntax: Parameternum - A number. ReturnThe number in the form of ex. JavaScript Math exp() method exampleHere, we will understand exp() method through various Example 1Let's see an example to print the given value in the form of ex. Test it NowOutput: 2.718281828459045 148.4131591025766 0.006737946999085467 Example 2Here, you can test exp() method with your own test cases. Test it Now
Next TopicJavaScript Math
|
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected]
Duration: 1 week to 2 week