I recently wanted to create my own simple loading spinner with just HTML and CSS. Here is the code that I came up with: HTML CSS See It In Action Below is what it looks Read more…
In JavaScript you can create a function by using the Function constructor: The above code produces a sum() function which takes 1 or more arguments and returns the sum of them all added together. You Read more…
A few months ago I wrote a quick post showing how to parse JSONC (JSON with comments) files in JavaScript. Shortly thereafter I adapted the code to work in PHP as well: This function takes Read more…
2 Comments
ildar · May 7, 2012 at 11:20 AM
Ha-ha-ha! Correct but not obvious equation.
Just consider 1 as 3 * (1/3) where 1/3 is 0.333… or 0.(3). The next step is reverse one: 0.333… * 3 = 0.999… or 0.(9). That is 1.
There are more than one proof. I shown the simplest.
POW Answer – 0.999999 Repeating Equals One? | Chris West's Blog · May 14, 2012 at 3:30 PM
[…] The following answers the Problem of the Week from May 7, 2012: […]