MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / DegToDec

Function DegToDec

general.cpp:500–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498// minute expressed as hundredths, e.g. 10.5 degrees -> 10.30
499
500real DegToDec(real d)
501{
502 return RSgn(d)*(RFloor(RAbs(d))+RFract(RAbs(d))*60.0/100.0);
503}
504
505
506// Return the shortest distance between two degrees in the zodiac. This is

Callers 1

FOutputDataFunction · 0.85

Calls 1

RSgnFunction · 0.85

Tested by

no test coverage detected