Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3403684
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:17:28+00:00 2026-05-18T05:17:28+00:00

I have a list of items heading that are all in INTEGER (yes the

  • 0

I have a list of items heading that are all in INTEGER (yes the heading is 0 to 120 int) value but when I am reading them they are all in float, so in between there is a conversion being done that I am not aware of (code not open so I can’t check it myself but I need to update the xml and for that i must know how to convert it).

  • What I wanted to find out here is
    what sort of conversion do I have to
    do in order to get out of the float a
    matching int for it as the examples
    OBJECT A and B.

First example is OBJECT A which has the floating heading 57 but has the int heading 109.
Second example is OBJECT B which has the floating heading 168 but has the int heading 26.

The floating is 0 to 360 and the int is 0 to 120.

Initially i was think about radians but there are 2 incosistences first is that OBJECT A is 57 having the int 109 so I would not be able to apply a converting formula to it I belive, second is that if I am not mistaken radians is up to 180.

I am really intrigued to understand why it has that integer representing a degree and how it is being converted to such…

PS: By the way I posted this in mathematics first before posting here but they requested it would be more suitable here.

UPDATE WITH MORE SAMPLES:

 F    I
168   26
 57  109
180   30
165   25
 45  105
  0   90
318   99
348   86
240   50
204   38
345   85

F for Float
I for INT

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T05:17:28+00:00Added an answer on May 18, 2026 at 5:17 am

    Ok. Your coordinates systems are rotated 90 degrees, and 120 matches 360.

    Your function is:

    f[x_] := 3 Mod[x - 90, 120];
    

    A plot

    ListPlot[{kk, Table[{i[[1]], f[i[[1]]]}, {i, kk}]}, PlotMarkers -> {"X", "O"}]
    

    alt text

    All the points are OK, except the last one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have list items that displayed inline. I want to align them vertically inside
I have a list which is dynamically built, but there are empty list items
I have a list of items on my web page that the user can
I have list items in an unordered list that when double clicked, can be
I have 2 List items in Sencha Touch, that have been added to my
Within my code I have list items like this; <div id=content> <ul class=kwicks> <li
I have 5 list items, when one is clicked the only method I know
Can someone suggest what I am doing wrong? Basically I have a List Items,
I have List with n items. I wish transform my list to new list,
I have a list of items of type ViewLookupItem which has these properties: For

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.