# Number output without conversion to hexadecimal

**URL:** <https://forum.bome.com/t/number-output-without-conversion-to-hexadecimal/7696>\
**Category:** Bome Products\
**Tags:** midi-translator\
**Created:** [December 20, 2025, 7:12am UTC](https://forum.bome.com/t/number-output-without-conversion-to-hexadecimal/7696 "2025-12-20T07:12:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thom](https://forum.bome.com/letter_avatar_proxy/v4/letter/t/57b2e6/32.png) [@Thom](https://forum.bome.com/u/Thom)\
**Post date:** [December 20, 2025, 7:12am UTC](https://forum.bome.com/t/number-output-without-conversion-to-hexadecimal/7696/1 "2025-12-20T07:12:37Z")

</div>

How is it possible to take a decimal number in Rules, such as 32 (represented as a variable), and output it in raw midi with the value 0x32.

In other words, the decimal 32 needs to be output without its value bring converted to hexadecimal.

I have hundreds of such numbers being input which need to be output this way.

Thank you 🙂

––

Edit: …a few minutes later…

Actually, I think I figured it out

Multiply the first digit by 16 then add the second digit

(3\*16)+2=50

50=0x32

Magic! 😀

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [December 20, 2025, 2:55pm UTC](https://forum.bome.com/t/number-output-without-conversion-to-hexadecimal/7696/2 "2025-12-20T14:55:41Z")

</div>

I generally use Windows Programmer calculator to do the converstion for me. But you can also google ’ 32 hex to decimal’.

If you want to dump variables in hex format you can hold control and press dump variables in MT Pro.

You can also insert values in rules as 0x32 and they will initially be shown that way, but when you restart the project, it will be shown in decimal.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![Thom](https://forum.bome.com/letter_avatar_proxy/v4/letter/t/57b2e6/32.png) [@Thom](https://forum.bome.com/u/Thom)\
**Post date:** [December 22, 2025, 3:09am UTC](https://forum.bome.com/t/number-output-without-conversion-to-hexadecimal/7696/3 "2025-12-22T03:09:11Z")

</div>

Thanks Steve, for correcting my title spelling of hexidecimal 😁

I do use Windows Programmer calculator too, and its a huge help. The variables in hex format tip for BMTP is also very cool.

In this particular situation a dump of raw data is being received with a large number of values that need to be calculated on the fly, so it really needs to all happen within BMTP.

The simple little formula in my previous post is doing the heavy lifting 💪

Thom

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [December 22, 2025, 3:33am UTC](https://forum.bome.com/t/number-output-without-conversion-to-hexadecimal/7696/4 "2025-12-22T03:33:15Z")

</div>

I agree, it would be handy if Bome MIDI Translator Pro had some sort of way to display in the format of your choice.

I’ll forward that as a suggestion.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_
