Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

radians

Status
Not open for further replies.
Jul 7, 2003
95
US
select city, zip from automaster where;
abs(3956 * acos( sin(radians(39.762))*sin(radians(latitude)) + cos(radians(39.762))*;
cos(radians(latitude)) * cos(radians(longitude-84.151)) ) ) <= 10

Is radians a recognized function in Foxpro?
 
powerprinting,

You can convert radians to degrees and degrees to radians using the RTOD() and DTOR() functions. You can look these up in the help file for further information.

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top