/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var num:int = 240; trace(num.toString(2)); // OUTPUT: 11110000