The Interactive Geometry Software Cinderella

Forum: Cinderella Support (E)

Forums->Cinderella Support (E)->A matter of degree ...->Re: A matter of degree ...

dirkd
3 stars
Re: A matter of degree ...


Is it just the symbol you want, in a string perhaps? Then you can always copy and paste from Microsofts Character Map (you find in in the Accessories) if need be. (At least, it works here). If you want to do calculations with degrees, just use pi/180 instead.

Dirk

 
on: Sun 05 of Nov, 2006 [10:11 UTC] reads: 14063

Posted messages

author message
Aw: Re: Re: A matter of degree ...
on: Sun 05 of Nov, 2006 [21:49 UTC]
Tide,

the problem with the degree sign is that it is just not available on US keyboards, as opposed to the German keyboards we are using here, where it is just next to the "1" key. Because we learned that during the Cinderella beta (thanks to our testers!!), we introduced a very nice (IMHO) shortcut for the Inspector fields that use degrees.

If the "use intelligent attributes" checkbox (in the inspector) is checked, then you can just omit the degree sign (in inspector fields), and Cinderella will figure out whether it is needed or not.

However, you are talking about the CindyScript editor. There this does not work, unfortunately, but you can always just write a helper function, for example:

deg(x):=x*pi/180;


or even

deg(x):=x°;


Does this help?

Ulli



[prev]  Page: 2/3  [next]

Show posts:
 
Language