# \[I want a node\] Convert decimal to Char

**URL:** https://forum.xod.io/t/i-want-a-node-convert-decimal-to-char/1953
**Category:** XOD Programming Questions
**Created:** [March 6, 2019, 2:48am UTC](https://forum.xod.io/t/i-want-a-node-convert-decimal-to-char/1953 "2019-03-06T02:48:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![taranclan](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@taranclan](https://forum.xod.io/u/taranclan)
#### Post date: [March 6, 2019, 2:48am UTC](https://forum.xod.io/t/i-want-a-node-convert-decimal-to-char/1953/1 "2019-03-06T02:48:47Z")

</div>

## node-name

A node that converts decimal to a char

### Inputs

- `INa` (decimal) — the description as it should be seen in the docs
- `RST` (pulse, default=never) — the description
- …

### Outputs

- `OUT` (Char) — the description
- …

* * *

---

<div class="post-metadata">

### Author: ![bradzilla84](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/bradzilla84/32/659_2.png) [@bradzilla84](https://forum.xod.io/u/bradzilla84)
#### Post date: [March 6, 2019, 12:30pm UTC](https://forum.xod.io/t/i-want-a-node-convert-decimal-to-char/1953/2 "2019-03-06T12:30:16Z")

</div>

Hi  
will “format-number” (xod/core/format-number) not do the job? (It is already built in)

---

<div class="post-metadata">

### Author: ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)
#### Post date: [March 6, 2019, 3:22pm UTC](https://forum.xod.io/t/i-want-a-node-convert-decimal-to-char/1953/3 "2019-03-06T15:22:40Z")

</div>

My guess would be they are looking for the character associated with ASCII value of INa, which I think would just be OUT = sprintf("%c", INa) (using appropriate syntax for pin values)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)
#### Post date: [March 8, 2019, 3:22pm UTC](https://forum.xod.io/t/i-want-a-node-convert-decimal-to-char/1953/4 "2019-03-08T15:22:41Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
