# How to properly use Number -\> text

**URL:** <https://forum.rtmaps.com/t/how-to-properly-use-number-text/165>\
**Category:** EcoCAR EV Challenge\
**Created:** [March 7, 2025, 5:02am UTC](https://forum.rtmaps.com/t/how-to-properly-use-number-text/165 "2025-03-07T05:02:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adi\_Kumar](https://forum.rtmaps.com/user_avatar/forum.rtmaps.com/adi_kumar/32/92_2.png) [@Adi\_Kumar](https://forum.rtmaps.com/u/Adi_Kumar)\
**Post date:** [March 7, 2025, 5:02am UTC](https://forum.rtmaps.com/t/how-to-properly-use-number-text/165/1 "2025-03-07T05:02:32Z")

</div>

Im trying to convert an int to a string. Am I implementing this incorrectly?

 ![image](https://forum.rtmaps.com/uploads/default/original/1X/82a65c650453d3b58943445c6731767f4114a94d.png)

---

<div class="post-metadata">

**Author:** ![Adi\_Kumar](https://forum.rtmaps.com/user_avatar/forum.rtmaps.com/adi_kumar/32/92_2.png) [@Adi\_Kumar](https://forum.rtmaps.com/u/Adi_Kumar)\
**Post date:** [March 7, 2025, 5:04am UTC](https://forum.rtmaps.com/t/how-to-properly-use-number-text/165/2 "2025-03-07T05:04:30Z")

</div>

I wasnt able to upload all the images but what is happening is that I have a number generator, and I’m passing its value through a conv2Text and this is the dataviewer output. Im using the default setting with the conv2text.  
The number generator had pvalue set at 7

---

<div class="post-metadata">

**Author:** ![llemke](https://forum.rtmaps.com/user_avatar/forum.rtmaps.com/llemke/32/53_2.png) [@llemke](https://forum.rtmaps.com/u/llemke)\
**Post date:** [March 10, 2025, 11:58am UTC](https://forum.rtmaps.com/t/how-to-properly-use-number-text/165/4 "2025-03-10T11:58:24Z")

</div>

As the documentation for the “Format” property states, the Conv2Text component uses the same formatting as in the standard C specifications. My guess is your number is outputting a float, and your format property is set to the default %d which is for integers. So depending on your goal, you would either need to change the type output of the number generator, or change the format to %f for float.
