Angles (geometric), normalization and conversion: Difference between revisions

Content added Content deleted
m (Automated syntax highlighting fixup (second round - minor fixes))
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
Line 4,137: Line 4,137:
("1000000.0000", "5.9256", "Radians", "339.5132", "377.2368", "6035.7895", "5.9256")</pre>
("1000000.0000", "5.9256", "Radians", "339.5132", "377.2368", "6035.7895", "5.9256")</pre>


=={{header|Vlang}}==
=={{header|V (Vlang)}}==
{{trans|Go}}
{{trans|Go}}
<syntaxhighlight lang="vlang">import math
<syntaxhighlight lang="v (vlang)">import math
import strconv
import strconv
fn d2d(d f64) f64 { return math.mod(d, 360) }
fn d2d(d f64) f64 { return math.mod(d, 360) }