# copy the coordinates of a point

hbghlyj shared this question 1 year ago

For example I construct a point by the command

E=Intersect(line(A,B),line(C,D))

then I can see the coordinates of E in the algebra view

how can I copy the coordinates of E?

In this circumstance, I have to copy them digit by digit or by OCR, but it sometimes makes a mistake. Is there a direct way to copy the coordinates of E?

1

`x(E)`

1

I mean, to copy the numerical coordinates.

1

For example, the rounding is set to be 10 decimal places, I wish to copy a 10 digit decimal

1

x(E) is the exact x-coordinate of a point E (likewise y(E)), regardless the setting of the roundng. What's the problem with that? Please explain if you want something else.

chris

1

Ok. For example, it is shown on the algebra view that x(E)=1.234567890 and I want to copy 1.234567890 to my clipboard. How can I do that without copying digit by digit?

1

Because I want to use the numerical value in another software😀

1

Oh I see. Just click E in the algebra view and Ctrl+C, then I get

• x(E) = 0.2994632234

1

Also CopyFreeObject(x(E)) or CopyFreeObject(round(x(E),10))

Also you could put this in a button:

```var str = ggbApplet.getXcoord("E");
ggbApplet.copyTextToClipboard(str);
```