2nd Code Block demonstrates failure in comment of output
{x,y,z}=GeoPositionXYZ[OneWeb-0452]["XYZ"]; Print["Current Postion of OneWeb-0452 is(x=",SetPrecision[x,2],", y=",SetPrecision[y,2], ", z=",SetPrecision[z,2 ]," meters from the Center of the Earth"]
(* Current Position of OneWeb-0452 is(x=3.1*10^6, y=5.8*10^6, z=2.4*10^6 meters from the Center of the Earth*)
(* versus *)
Print["Current Position of OneWeb-0452 is(x=",
ToString[SetPrecision[x, 2]], ", y=", SetPrecision[y, 2], ", z=",
SetPrecision[z, 2 ], " meters from the Center of the Earth"]
(* Current Positiion of OneWeb-0452 is(x= 6
3.1 10, y=5.8*10^6, z=2.4*10^6 meters from the Center of the Earth*)
ToString[SetPrecision[x, 2], InputForm]
. See the first examples here. $\endgroup$SetPrecision
is. I also wonder about the title:SetPrecision[x, 1.2]
does not appear in your code. $\endgroup$NumberForm
rather thanSetPrecision
? $\endgroup$