Hey Guys,
How would you guys convert a string of “13k” to “13000” or “37k” to “37000”?
Hey Guys,
How would you guys convert a string of “13k” to “13000” or “37k” to “37000”?
divide it by 1000 then parse it as string and add the ‘K’
Can try a regex.replace
Pattern: (?<=\d+)k
And replace with 000
Try
“13k”.Replace(“k”,“000”).ToString
Welcome to community.
You can use the replace activity.
newValue = value.ToString.replace(“k”,000")
Regards,
MY
If your problem is solved , marked it as solution for future refernce.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.