String to currency

i need to convert the string to currency
in my scenario the string is like
0000000290.00 i need to get as 290 0000060000.00 i need to get as 60000

Thanks in Advance

@saikrishna1,

Try below one:

str = “0000000290.00”

requiredCurrency = str.split(".".TocharArray)(0).TrimStart("0"c)

5 Likes

Thanks, my issue solved :laughing:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.