# Hex to dec (not RGB related)

**URL:** https://forum.kirupa.com/t/hex-to-dec-not-rgb-related/110879
**Category:** Uncategorized
**Created:** [May 20, 2004, 6:43pm UTC](https://forum.kirupa.com/t/hex-to-dec-not-rgb-related/110879 "2004-05-20T18:43:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![4Real](https://avatars.discourse-cdn.com/v4/letter/4/f6c823/32.png) [@4Real](https://forum.kirupa.com/u/4Real)
#### Post date: [May 20, 2004, 6:43pm UTC](https://forum.kirupa.com/t/hex-to-dec-not-rgb-related/110879/1 "2004-05-20T18:43:08Z")

</div>

**Hi**

I’m doing a simple hex converter with a input window(hex) and output window(dec)

Currently i’m using a simple script on a button to covert the hex to dec

on (release) {  
outputBox = parseInt(inputBox, 16);  
}

This is ok if you want to convert one hex number at a time, what i want to do  
is input lots of hex values (in the input window) and convert them to dec (to  
the output window) in one go.

All help is appreciated

4Real
