[calc] Fix degree to radians conversion

See issue #3018 for more details.

svn path=/trunk/; revision=51482
This commit is contained in:
Gregor Schneider 2011-04-28 20:17:14 +00:00
parent 7d857e4ff3
commit f80c0cc156

View file

@ -50,7 +50,7 @@ typedef struct {
static const conv_t conv_ANGLE[] = {
DECLARE_CONV_UNIT(ANGLE, DEGREES, "$", "$")
DECLARE_CONV_UNIT(ANGLE, GRADIANS, "$*0.9", "$/0.9")
DECLARE_CONV_UNIT(ANGLE, RADIANS, "$*180/P", "$*P/180")
DECLARE_CONV_UNIT(ANGLE, RADIANS, "$/P*180", "$*P/180")
DECLARE_CONV_END
};