I'm creating a winform program in visual studio 2015 to calculate Pi, but I'm having trouble trying to get the number of logical digits.
I need to make it so that:
public decimal pi = 3.15195647857832565; //random decimals
txtDigits.Text = //number of digits in pi variable and get rid of trailing decimal points