I have a currency field in a Datatable which prints the number it has in the mail body. I need to convert that whatever number into more convenient way of reading as Million/Billion/Trillion. Do we have an option of doing that? Kindly post your valuable comments
Eg:2724577.2 USD needs to be printed as 2.72M USD (M = Million)
I checked all those 4 custom activities you mentioned. They are merely converting whatever numbers we provide into words. But I need even more specific to mention in terms of millions like 2.7M, 0.6M… Can we do this in .net?
Thanks for your help on this. It is printing values in Millions as expected… I need even more specific like if it 24,00,000 it should print 2.4M, but I am getting only 2M. Also, it’s not converting for values less than 10 lakhs. I tried alternating the values in the bold area (num.ToString(“#,##0…M”,CultureInfo.InvariantCulture)) but I am getting wrong output. Kindly help me on this and I will also keep exploring on this