10.07.2017 Views

javascript_tutorial

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Javascript<br />

var property_value = Math.LOG2E<br />

document.write("Property Value is : " + property_value);<br />

<br />

<br />

<br />

Output<br />

Property Value is : 1.4426950408889634<br />

Math-LOG10E<br />

It returns the base 10 logarithm of E which is approximately 0.434.<br />

Syntax<br />

Its syntax is as follows:<br />

Math.LOG10E<br />

Example<br />

Try the following example program.<br />

<br />

<br />

JavaScript Math LOG10E Property<br />

<br />

<br />

<br />

var property_value = Math.LOG10E<br />

document.write("Property Value is : " + property_value);<br />

<br />

<br />

<br />

Output<br />

279

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!