I know this is not a big deal for some but for me has been an everlasting quest to find the best syntax highlighter for blogs. (Damn that sounded dramatic )
Anyway, I stepped away from the idea that it needed to be a plugin for WordPress. Then i found Alex Gorbachev’s Syntax Highlighter. Its [...]
Posts from ‘March, 2009’
Using a new syntax highlighter for my blog
How to: Designing for Mobiles
Nice educational video from 4 dutch guys (Joel Laumans, Gemma Vernooy, Lemmy-Boy Hoogendoorn & Niek Dekker.) who talk about designing for mobiles in the correct context in 3 minutes. Enjoy!
How-To: The Big ‘Rounding Numbers’ Guide in Actionscript
I wrote so i don’t forget anymore, maybe i’ll help some else with this aswell, its all about rounding numbers, decimals and precision digits in Actionscript.
In AS2 we could use the following to round of number:
Three decimals:
var yourNumber:Number = 23.263636453737383838383838;
yourNumber = Math.round(yourNumber *1000)/1000;
// Outputs 23.263
Two decimals:
var yourNumber:Number = 23.263636453737383838383838;
yourNumber = Math.round(yourNumber *100)/100;
// Outputs 23.26
One [...]




