Question

3
Replies
7064
Views
Close popover
SivaKrishna Thumati (SivaKrishnaThumati)
Cognizant Technology Solutions
Software Developer
Cognizant Technology Solutions
IN
SivaKrishnaThumati Member since 2016 4 posts
Cognizant Technology Solutions
Posted: March 8, 2017
Last activity: September 28, 2017
Closed
Solved

How to Convert StringNumber to DecimalNumber ?

Hi All,

I wrote a Utility Function (StringNumberToDecimal) , but When I used this function in my Activity ,its working only 18 digit number

forEX : input : "123456789876543211" OutPut : 123,456,789,876,543,211

But I have a requirement to given more digits, so How to do it?

@forUrInfo :

StringNumberToDecimal method code like:

--------------------------------------------------------

/*DecimalFormat decimalFormat = new DecimalFormat("#,###0.00");

String format = decimalFormat.format("inputStringNumber");

return format ; */

and in configure of my methid I am taking java input and output data type is String // Pega input type and output data type is TEXT

so Please Help on this

Thanks,

Siva

***Updated by moderator: Lochan to add Categories***

***Updated by Moderator: Marissa to mark as Assumed Answered***

Data Integration Java and Activities User Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.