At times you may want to set a minimum height and/or a maximum height for an Lightning Web Component Datatable. The documentation may lead you to believe that you cannot accomplish this but with some Read more…
Did you know that you can pass a function as the second parameter to JSON.parse()? Doing this causes every key/value pair to be passed to this function for further processing. You can read all about Read more…
Last year I needed a way to be able to parse JSON with comments (also known as JSONC). With that in mind I wrote the following short solution which will essentially remove JavaScript-style comments and 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: […]