Rounding a number to 2 decimal places only if there are decimal placesPosted on: May 30, 2012
A nice and quick method I use for doing this.
A nice and quick method I use for doing this.
I've had the opportunity at work to do some development on a couple of HTML games (with the conscious attempt to move away from flash and make them work on mobile devices). The following is a great technique I came across...
A handy list of all the sublime text snippets I simply couldn't live without.
When it comes to creating websites these days, one can't avoid including social media links for sharing. Twitter's good old 140 character limit on tweets has caused issues when it comes to using really long urls for me, so I've come to using the following...
I recently had fun playing a bit of a prank on a colleague of mine by using Google Docs scripting to update a cell based on its content.