Chris West's Blog

  • Home
  • Site Search
  • About Me
  •  YourJS
  • Search for:

JavaScript, Math, and much more.

Blog

JavaScript – Degree & Radian Conversion

Two very simple operations that you may have to deal with if writing a JavaScript that deals with trigonometry are Math.degrees() and Math.radians(). These function can be easily defined as follows: The name of these functions indicates the end result. Read more…

By Chris West, 13 years ago November 12, 2012
Blog

JavaScript – Rounding with Precision

One of the things that bothers me about the native rounding functions is the fact that there is no way to specify precision. If this is something that you need to do you can use the following code to define Read more…

By Chris West, 13 years ago November 9, 2012
Blog

Apache – Using Minified JavaScript If Available

I am currently working on a totally new layout and was recently trying to ensure that if the minified version of a JS file existed on my site, it would be used instead of the normal version. Thusly, I decided Read more…

By Chris West, 13 years ago November 7, 2012
Blog

JavaScript – Hash Table Implementation

Recently someone tested my knowledge of JavaScript and asked me what types of native data structures exist which can contain an arbitrary amount of data. My answer was that Arrays and Objects can both do this right out of the Read more…

By Chris West, 13 years ago November 6, 2012
Blog

POW Answer – Appending = Adding Squares

This post gives the answer to last week’s Problem of the Week. First of all, I have to admit that this problem actually came from the Quicker Maths blog. This blog actually pulled the problem from IBM’s Ponder this section. Read more…

By Chris West, 13 years ago October 29, 2012
Blog

POW – Appending = Adding Squares

Did you know that 882 + 332 = 8833? How about the fact that 9902 + 1002 = 990100? That is pretty interesting, huh? My question for you all is, are there any two 4-digit numbers with this same relationship? Read more…

By Chris West, 13 years ago October 22, 2012
Blog

POW Answer – Multiple Choice Question?

If you remember the problem, the key is the fact that the problem never said to choose one of the answers from the multiple choice list. Also, the question never said that that question was the one that applied to Read more…

By Chris West, 13 years ago October 21, 2012
Blog

VBA – Encode URL Query Parts In Excel

Have you ever had a column text for which you wish you could easily create links? For example, let’s say that you have a column of search words (or phrases) that should link to the Google page for each search. Read more…

By Chris West, 13 years ago October 16, 2012
Blog

POW – Multiple Choice Question?

This Problem of the Week will make you question whether or not multiple choice questions really are easier. Here is the question: Assuming the answer can be selected from the following list, if you were to choose one of the Read more…

By Chris West, 13 years ago October 15, 2012
Blog

JavaScript – Euclidean Algorithm

One of the things that you often have to learn early on in school after multiplication and division is how to find the GCD (Greatest Common Divisor) of two numbers. It is possible that you know the GCD as the Read more…

By Chris West, 13 years ago October 12, 2012

Posts navigation

Previous 1 … 19 20 21 … 36 Next
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Archives
Categories
Blog (346) CSharp (1) Games (3) HTA (2) Java (5) JavaScript (220) JScript (149) Math (49) Microsoft Office (16) Movie Trailers (2) PHP (13) POW Answer (2) Problem of the Week (31) Python (15) Reporting (1) Salesforce (6) SQL (28) VBA (6) VBScript (8) Videos (10)
Tags
Apache (1) Apex (3) Array (37) Audio (2) Bash (3) Canvas (7) Chrome (3) CSS (12) CSS3 (2) Curry (1) Date (6) EcmaScript 6 (8) Encryption (2) Español (2) Excel (20) Function (136) GitHub (12) Hack (9) HTML (4) HTML5 (2) JasperReport (2) JasperServer (1) jPaq (35) JSON (2) JSONP (2) JW.org (5) Logic Puzzle (2) LWC (2) Mail Merge (1) Math (53) Network (1) OpenKM (2) PostgreSQL (27) Private Data (4) Problem of the Week (31) Prototype (41) Quirk (3) Recursion (10) Regular Expressions (22) String (62) SVN (1) Video (2) Wildcards (3) WScript (2) YourJS (18)
  • About Me
Hestia | Powered by WordPress