How might I go about efficiently generating an infinite list of Catalan numbers? What I have now works reasonably quickly, but it seems to me that there should
Have I missed a standard API call that removes trailing insignificant zeros from a number? var x = 1.234000; // to become 1.234 var y = 1.234001; // stays 1.234
I want to convert a number to its corresponding alphabet letter. For example: 1 = A 2 = B 3 = C Can this be done in javascript without manually creating the