faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

8 of 15 people (53%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

JavaScript: Calculator: Scientific: How to use the URL address line as a calculator in JavaScript?

Apr 8th, 2008 17:51
ha mo, Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 16 October 2004 - 10:45 pm --------------------
JavaScript: Calculator: Scientific: How to use the URL address line as 
a calculator in JavaScript?
---
Steps: Overview:
 1. -Start your browser
 2. -Type in the URL address line the following command:
      javascript: <your expression>
     ---
     e.g.
      to calculate 5 * 30, type the following:
       javascript: 5 * 30   // shows 150
     ---
     e.g.
      to calculate sin( PI / 6 ), type the following:
       javascript: Math.sin( Math.PI / 6 ); // shows 0.5
---
---
Internet: see also:
---
Math: Calculator: Scientific: Link: Overview: Can you give an overview 
of links?
http://www.faqts.com/knowledge_base/view.phtml/aid/33178/fid/771
----------------------------------------------------------------------
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com