I am having trouble with a very basic issue of formatting numbers. Here is an example:
CloudDeploy[FormFunction["x" -> "Number", FortranForm[#x] &]]
In the website, I enter a number like "1.23*^25" in the input field and hit ENTER. I expect a return of "1.23e25". In fact, the return is an image in which "x Slot" is written.
I have tried various permutations of wrappers like FortranForm, CForm, NumberForm, and so forth, and various other attempts with Delayed, none of which gives the desired result. To be clear, I don't want to get back an image (e.g., as possible with ExportForm[ ]). I would just like to get back a simple string such as "1.23e25".
[In the absence of any wrapper, the return is: ' 12300000000000000276824064'. Hence, there is a need for a wrapper.]
My question seems so simple. Any solutions?
Thank you!