Question

3
Replies
6333
Views
SivaKrishnaThumati Member since 2016 4 posts
Cognizant Technology Solutions
Posted: 3 years ago
Last activity: 3 years 7 months ago
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 Interface
Moderation Team has archived post
Share this page LinkedIn