Properties
Category
Vietnamese
Similar Topics
Statistics
Comments
2
Participants
3
Subscribers
28
Votes
1
Views
618
Share
A quick question about ParseToAngle
Answered
Hello,
I know you can ParseToNumber[a,text1].
But can you do the same if you want the text to be converted to an angle measure?
So it might look like something like . . . ParseToAngle[α,text1]
If not  any suggestions on what I could do? I know how to convert a number to a angle . . . but could I also convert an an angle to a number?
Thanks.
 GeoGebra
 Help
 Partners

Contact us
 Feedback & Questions
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 +43 677 6137 2693
© 2023 International GeoGebra Institute
an angle is a number with º at the end. º==pi/180 so 30º==30 pi/180 then you can use parsetonumber("45º") for getting an angle
Exemple
a=2 (begin with a as a type of number)
then ==> parsetonumber(a,"45º") get a=45°
the type of a become an angle
Comments have been locked on this page!