Horizontal sundial calculations: Difference between revisions
Content added Content deleted
Line 668: | Line 668: | ||
=={{header|Ruby}}== |
=={{header|Ruby}}== |
||
{{trans|ALGOL 68}} |
{{trans|ALGOL 68}} |
||
{{trans|Python}} |
|||
<lang ruby>include Math |
<lang ruby>include Math |
||
DtoR = PI/180 |
DtoR = PI/180 |