# How to treat numbers in binary format with AS3?

**URL:** <https://forum.kirupa.com/t/how-to-treat-numbers-in-binary-format-with-as3/275318>\
**Category:** flash\
**Created:** [November 12, 2008, 1:00pm UTC](https://forum.kirupa.com/t/how-to-treat-numbers-in-binary-format-with-as3/275318 "2008-11-12T13:00:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangxiaorui](https://avatars.discourse-cdn.com/v4/letter/z/e495f1/32.png) [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Post date:** [November 12, 2008, 1:00pm UTC](https://forum.kirupa.com/t/how-to-treat-numbers-in-binary-format-with-as3/275318/1 "2008-11-12T13:00:44Z")

</div>

So … since we can treat numbers like this:

```auto
var someNumber:Number = 0xff0000;

```

is there anyway to treat numbers like:

```auto
var someBinaryData:Number = ??010011;

```

Just wonder…
