Shaun Mccran

My digital playground

04
A
U
G
2008

JavaScript Confirm function

Recently I've been using the JavaScript confirm method to confirm if a user has clicked on the right thing or not. A handy 'catch-and-verify' fail safe.

[ More ]

24
J
U
L
2008

SQL Formatting a numeric field to 2 decimal places

Need to format a field to a certain number of decimal places?

Just do this:

[ More ]

07
J
U
L
2008

Init method for coldfusion cfc's

I'm lucky enough to be working in an environment that is small enough to allow me access to our whole suite of coldfusion cfc's. So i generally know pretty much what they all do, but what if your interrogating unknown cfc's?

Well you can use the init() method.

[ More ]

04
J
U
L
2008

Converting and formatting DateTimes in SQL queries

I've come across the need to format a dateTime as a string in SQL, so after a little research I found that its pretty straightforward.

[ More ]

_UNKNOWNTRANSLATION_ /