Question: Is there a command in mathematica that can take a decimal input, and output it into its exact form?
The question arose when I tried to use this command:
x = NSolve[Sum[h(An+B)/(C^n) /. A →(3/2)Sqrt[2] /. C→ -2^9 /. h → (2n)!^3 / n!^6,
{n, 0, 50}] == 1/Pi, B, 30]
And got a decimal output of approximately $0.353553390593\ldots$. According to this website (where I got the approximation from), that is equal to $(1/4)\sqrt2$.
And my Mathematica does not recognize the command Recognize[x,k,v] so I am completely lost.
I am also relatively new to Mathematica. The output of the code should give $0.353553390593\ldots$ But whenever I enter it in, I get a bunch of errors that say this is protected. When I change the variables, I get an approximation greater than $1$. What is wrong with the coding that I'm entering in?

NumberTheory`Recognize`won't work for you. See http://reference.wolfram.com/language/Compatibility/tutorial/NumberTheory/Recognize.html. – Sjoerd C. de Vries Nov 25 '16 at 23:01pnwhich should bep*n(orp n- the space is interchangeable with*). – corey979 Nov 26 '16 at 00:19