# "%" Translation

**URL:** <https://forum.kirupa.com/t/translation/170723>\
**Category:** flash\
**Created:** [November 29, 2005, 3:06am UTC](https://forum.kirupa.com/t/translation/170723 "2005-11-29T03:06:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vulshok](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@Vulshok](https://forum.kirupa.com/u/Vulshok)\
**Post date:** [November 29, 2005, 3:06am UTC](https://forum.kirupa.com/t/translation/170723/1 "2005-11-29T03:06:08Z")

</div>

Im trying to convert a flash binary-decimal converter to another programming language (TI-Basic). I’ve got all of it down except one key part. I’ve got a solid backing of actionscript understanding but find myself unable to understand the following statement:  
[color=#006610]if[/color] color=#0000ff[/color] [color=#0000ff]{[/color] [color=#000050]bin[/color] [color=#0000ff]=[/color] [color=#666666]“1”[/color][color=#0000ff]+[/color][color=#000050]bin[/color]; [color=#0000ff]}[/color]  
[color=black]from [this](http://www.kirupa.com/developer/actionscript/binary_conversion.htm) tutorial[/color]  
I realize that inumber%2 will return a value being the remainder of inumber divided by 2, but how can this be a conditional? “if (2) { }” doesn’t work for conditonals im used to. Can someone fill me in on how this works?  
Or if your a TI-Basic wiz and could point me a different direction for this program I’d appreciate it 😃 .

Thanks

[size=1]p.s. how do you wrap actionscript tags around content in a post on the forum?[/size]
