Anonymous user
Horizontal sundial calculations: Difference between revisions
Simpler D version
(Simpler D version) |
|||
Line 225:
=={{header|D}}==
{{trans|Python}}
<lang d>import std.stdio
double radians(double x) { return x * (PI/180); }
|
(Simpler D version) |
|||
Line 225:
=={{header|D}}==
{{trans|Python}}
<lang d>import std.stdio
double radians(double x) { return x * (PI/180); }
|