/ Published in: ActionScript 3
Expand |
Embed | Plain Text
var num:int = 240; trace(num.toString(2)); // OUTPUT: 11110000
You need to login to post a comment.
adrianparr on 03/03/10
1 base toString binary convert int 2 as3 0
1 person have marked this snippet as a favorite
var num:int = 240; trace(num.toString(2)); // OUTPUT: 11110000
You need to login to post a comment.