Click here to Skip to main content
15,914,074 members
Home / Discussions / C#
   

C#

 
GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
Jason Lepack (LeppyR64)12-Jan-09 16:47
Jason Lepack (LeppyR64)12-Jan-09 16:47 
GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
PIEBALDconsult12-Jan-09 19:49
mvePIEBALDconsult12-Jan-09 19:49 
AnswerRe: Beaten and defeated by this simple geography compass problem. Pin
J4amieC12-Jan-09 22:19
J4amieC12-Jan-09 22:19 
AnswerRe: Beaten and defeated by this simple geography compass problem. Pin
Alan Balkany13-Jan-09 4:28
Alan Balkany13-Jan-09 4:28 
AnswerRe: Beaten and defeated by this simple geography compass problem. Pin
Luc Pattyn14-Jan-09 3:24
sitebuilderLuc Pattyn14-Jan-09 3:24 
GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
Garry Freemyer14-Jan-09 9:43
Garry Freemyer14-Jan-09 9:43 
AnswerRe: Beaten and defeated by this simple geography compass problem. [modified] Pin
Luc Pattyn14-Jan-09 9:51
sitebuilderLuc Pattyn14-Jan-09 9:51 
GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
Garry Freemyer14-Jan-09 10:28
Garry Freemyer14-Jan-09 10:28 
Thanks much!

I tried the third option on this result already and the problem I am having is that % will not work with floats, doubles but only with integers I get a compile error when I try it.

x % y will not compile unless the types for x and y are integer only.

So I tried multiplication to get the number rounded up to an integer, and then multiply the 360 by the same factor and then do that math and I am trying to work with that.

I suspect I may have to invert the signs first and then do the third step or I might not get the expected results I need....

0 .. 360 where 0 and 360 are north and 90 is East, and West is 270.

Been there, done that, forgot why!

AnswerRe: Beaten and defeated by this simple geography compass problem. [modified] Pin
Luc Pattyn14-Jan-09 10:40
sitebuilderLuc Pattyn14-Jan-09 10:40 
GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
Garry Freemyer14-Jan-09 11:05
Garry Freemyer14-Jan-09 11:05 
AnswerRe: Beaten and defeated by this simple geography compass problem. [modified] Pin
Luc Pattyn14-Jan-09 11:03
sitebuilderLuc Pattyn14-Jan-09 11:03 
GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
Garry Freemyer14-Jan-09 11:16
Garry Freemyer14-Jan-09 11:16 
AnswerRe: Beaten and defeated by this simple geography compass problem. Pin
Luc Pattyn14-Jan-09 11:30
sitebuilderLuc Pattyn14-Jan-09 11:30 
GeneralRe: Beaten and defeated by this simple geography compass problem. Pin
Garry Freemyer14-Jan-09 11:44
Garry Freemyer14-Jan-09 11:44 
AnswerRe: Beaten and defeated by this simple geography compass problem. [modified] Pin
Luc Pattyn19-Jan-09 11:00
sitebuilderLuc Pattyn19-Jan-09 11:00 
AnswerRe: Beaten and defeated by this simple geography compass problem. [modified] Pin
Luc Pattyn14-Jan-09 11:34
sitebuilderLuc Pattyn14-Jan-09 11:34 
AnswerRe: Beaten and defeated by this simple geography compass problem. Pin
RickNash27-Apr-09 4:27
RickNash27-Apr-09 4:27 
QuestionSplit Mp3 File Pin
Muhammad Noor12-Jan-09 15:12
Muhammad Noor12-Jan-09 15:12 
AnswerRe: Split Mp3 File Pin
Dragonfly_Lee12-Jan-09 17:46
Dragonfly_Lee12-Jan-09 17:46 
AnswerRe: Split Mp3 File Pin
Guffa12-Jan-09 20:11
Guffa12-Jan-09 20:11 
QuestionC# Socket diconnect Help needed Pin
alb1081112-Jan-09 14:19
alb1081112-Jan-09 14:19 
Questionhow can made clinic project in c#.net? Pin
mohammedali200612-Jan-09 13:17
mohammedali200612-Jan-09 13:17 
AnswerCP IGNORE: Idiot. Pin
leckey12-Jan-09 14:56
leckey12-Jan-09 14:56 
AnswerRe: how can made clinic project in c#.net? Pin
Dave Kreskowiak12-Jan-09 16:49
mveDave Kreskowiak12-Jan-09 16:49 
Questiongo to next Pin
abu rakan12-Jan-09 10:55
abu rakan12-Jan-09 10:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.