# canonical to EDI output

**URL:** <https://techcommunity.softwareag.com/t/canonical-to-edi-output/108810>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [February 16, 2006, 11:17am UTC](https://techcommunity.softwareag.com/t/canonical-to-edi-output/108810 "2006-02-16T11:17:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wmuser472](https://avatars.discourse-cdn.com/v4/letter/w/ce7236/32.png) [@wmuser472](https://techcommunity.softwareag.com/u/wmuser472)\
**Post date:** [February 16, 2006, 11:17am UTC](https://techcommunity.softwareag.com/t/canonical-to-edi-output/108810/1 "2006-02-16T11:17:30Z")

</div>

I am using the ConverttoString service in my map…The input is a doc (and the schema for the doc) and the output is a string…In the doc i’ve got a number as input which when getting converted to a string is given out as exponential data. (for eg if the input is 2 the output is 2E0 and if the input is 30 the output is 3E1 and so on) does anyone have an idea how this service converttostring works and if we can get the output value as just a number.

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [February 16, 2006, 7:16pm UTC](https://techcommunity.softwareag.com/t/canonical-to-edi-output/108810/2 "2006-02-16T19:16:27Z")

</div>

Do you want to get output 2 if input is 2E0 etc…??Basically take a look in the EDI formatservices,in the IS filesystem of Packages/WmEDI/formatServices location.

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![pranav.gandhi.6767](https://avatars.discourse-cdn.com/v4/letter/p/b487fb/32.png) [@pranav.gandhi.6767](https://techcommunity.softwareag.com/u/pranav.gandhi.6767)\
**Post date:** [April 25, 2006, 4:46pm UTC](https://techcommunity.softwareag.com/t/canonical-to-edi-output/108810/3 "2006-04-25T16:46:58Z")

</div>

my input is 19.263 and output of convertToString is 1.9623E1. I want output as 19.263 i.e not in exponential format. Please help me to solve this problem

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [April 25, 2006, 6:59pm UTC](https://techcommunity.softwareag.com/t/canonical-to-edi-output/108810/4 "2006-04-25T18:59:00Z")

</div>

Pranav,

Please take a look in the EDI format services as told above.Basically you have to modify format services or manipulate according to your expected format.

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:05pm UTC](https://techcommunity.softwareag.com/t/canonical-to-edi-output/108810/5 "2021-04-02T15:05:23Z")

</div>


