in reply to how to format cell as text?

What does your program do with the large number, and how is that number determined? It might be easier to store (and manipulate) it as a string.