Jan-Sandr / Grafer

2 stars 1 forks source link

[EquationInput] Allow degrees in equation input #139

Closed Jan-Sandr closed 2 years ago

Jan-Sandr commented 2 years ago

Story:

Since trigonometric function are in application it will be nice if user can input degrees and π in equation. As first allow character ° As second adjust EquationCheck.cs which will ensure that degree character will be only after number character add new method AreDegreesValid(). About Pi it will be similar like letter. As last adjust Relation.cs class which will convert number with degree character to pure number in new method ConvertDegrees(). Pi will be replaced by numerical value in SubstitutePi() As last add new shortcut and button for degree character.

To do: