Running .NET 4.6 and x64 build options
The No ToString () format option seems to work for numbers longer than 15 digits, as it converts them to Exponential format.
What I have tried so far:
long.ToString("#"); long.ToString("G"); long.ToString("0"); long.ToString("#,#"); long.ToString("0,0");
The only thing that partially works:
long.ToString("0,0");
However, I would prefer a prime. I would prefer not to use:
String.Replace(",", "");
Any suggestions?
Edit: The solution has already been tried .. ToString ("0")
Perform a full VS2015 repair and clean my solution. Now he is working as intended.
source share