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
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
Try below one:
str = “0000000290.00”
requiredCurrency = str.split(“.”.TocharArray)(0).TrimStart("0"c)
Thanks, my issue solved
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.