Mapping a number to another

hi
I need to map one number to another on some scale...i.e numbers from -90 to +90(including floating point numbers upto 1 decimal point precision) should be mapped to numbers from 0 to 1800.
eg.
-90 = 0
-89.9 = 1
-89.8 = 2
-89 = 10
+89 = 1790
+89.1 = 1791
+90 = 1800
How do I do this?

hi
I need to map one number to another on some
scale...i.e numbers from -90 to +90(including
floating point numbers upto 1 decimal point
precision) should be mapped to numbers from 0 to
1800.
eg.
-90 = 0
-89.9 = 1
-89.8 = 2
-89 = 10
+89 = 1790
+89.1 = 1791
+90 = 1800
How do I do this?take ur input number to float variable f1.
and multiply f1 to 10 then add 900. i.e ur output
         System.out.println(f1*10+900);

Similar Messages

  • Can I transfer AppleCare from one number to another number within same family?

    I have 5 phones under me.
    I purchased the Iphone 5 under my number with the AppleCare. Unfortunately a few months later I wanted another phone. I switched the Iphone 5's phone number to another family member.
    Did I lose the AppleCare at that point?
    Now this family member with the Iphone 5 wants another phone, and we want to give the Iphone 5 to another family member.
    Question: Is there a possibility I still have the AppleCare (I did not call Apple at the time)  and can cancel the AppleCare and get it prorated since I made one transfer which the Terms state one can do? Like most people, I didn't read the Terms. =(
    or...did I lose the AppleCare once I transferred the number? I did inquire at the time, and the phone company stated I could do it...so I did...
    Thanks for any advice. Just seeing if I can salvage the cost I put into AppleCare into this one phone that never left the original address...just the phone number was switched.

    The AppleCare stays with the hardware, not the phone number.

  • How to select data from a table by passing document number from another tab

    How to select data from a table by passing document number from another table.
    for eg:-
    I want to display name, adres, region from ADRC table
    by using field delivery document number
    Kind Regards,
    Shanbagavalli.S

    Hi Shanbagavalli,
    There are multiple solutions to this questions a few i will try to answer and then you can take the best required for your requirements.
    **Consider that you have a Internal table having document number from other table..
    SELECT NAME ADRES REGION FROM ADRC
           INTO IT_ADRC
           FOR ALL ENTRIES IN IT_DOC
           WHERE DOCUMENT_NO = IT_DOC-DOCUMENT_NO.
    **Consider that you have 1 document number then
    SELECT NAME ADRES REGION FROM ADRC
         INTO IT_ADRC
         WHERE DOCUMENT_NO = W_DOCUMENT_NO.
    Hope this solves your problem.
    Regards,
    Kunjal

  • How do I remove my phone number from another iCloud account so that text messages cannot be seen on another phone?

    How do I remove my phone number from another iCloud account. The issue is another phone receiving my text messages because of a shared apple ID.

    You can't remove your phone number from iMessage on an iPhone.  To prevent another phone from receiving your messages, use different Apple IDs for iMessage.  One of you should go to Settings>Messages>Send & Receive, tap the ID, sign out, then sign back in with a different ID.  You can still share the same ID for other services such as iTunes if you want; they don't have to be the same as your iMessage ID.

  • TS2755 I living in Israel using Hot Mobile an 3.9G network, transferred my old number from another carrier and for some reason the imessage / face-time not working anymore even restore not helped, it stuck on "waiting for activation" please help

    when i try to active the imessage or facetime it typing "Waiting for activation" and stuck like this.
    when i go to setting > phone > i see the correct number.
    i think i read the whole google already trying resolving this issue tried everything, even restored my phone and actived the new sim using itunes.
    but still not working same error.
    the NEW sim of HOT MOBILE gave me a temporary number which worked fine its was 053-xxxxxx
    after somthing the transfer like 24 later hours they transfered my old number from another carrier witch is 054-xxxxxx
    and now not working.
    called my carrier and they has no idea how to fix that.
    they told me contact apple.
    P L E A S E    H E L P. . .

    Hi guys,
    I keep getting "waiting for activation" on my iMessage. I can only send/receive iMessage from my email address, NOT my phone number.
    I have done all kind of fixing suggestions that I can find online, but nothing works so far.
    - Date & time set as automatic (I don't know why this matter, but mine was already set as automatic from the begining)
    - Reset network setting
    - Changing the DNS to 8.8.8.8.
    - Restore to factory setting (from back up & as new iPhone)
    - Turning on/off iMessage & facetime
    - Sign out/in of apple ID
    - Change location from apple ID
    - Hard reset/reboot
    And many others.
    ...me too. I'm in Portugal having the same issue!! Hopefuly Apple will give us a solution, shortly...

  • Map BATCH number corresponding to ORDER number and Material number .

    hi all,
    i want to map the BATCH number corresponding to Material Number .
    i searched tables MCHA which has two fields Material number and Batch number but it doenot have Order number.
    so how can i get Batch number as in table AFPO/AFKO i have all these three fields batch/material/order numbers.
    but the batch number column is blank for all .
    and in case of table MCHA , these is assigned batch number to every Material number .
    also i want to ask , either the Material number in both tables (MCHA AND AFPO) is same or different as i didnot found any relation to map these three field by other fields too.
    so please suggest me the Possible way to resolve this .....
    sunny

    hi dsk,
    thanks for your earliar reply,
    actually iam working on sapscript there i want to add batch number ,but i am not able to clear my doubt from where i get this.
    how can i map batch number with corresponding to PO num ber, '
    in the report i used structure vbplp with field charg"(batch num).
    also i want to know from which table i can get customer part number and Po number .
    how can i add batch num ,..
    from which table or with which field i can compare itr to get .
    sunny

  • To map batch number to serial number for inbound message type WMMBXY

    Hi Gurus,
    Can anybody guid me how to map batch number to serial number for goods receipt inbound EDI 861 message type WMMBXY  .
    And can tell me how to assign serial number in Purchase Order for serialized product for perticuler Batch number.

    hi dsk,
    thanks for your earliar reply,
    actually iam working on sapscript there i want to add batch number ,but i am not able to clear my doubt from where i get this.
    how can i map batch number with corresponding to PO num ber, '
    in the report i used structure vbplp with field charg"(batch num).
    also i want to know from which table i can get customer part number and Po number .
    how can i add batch num ,..
    from which table or with which field i can compare itr to get .
    sunny

  • Mapping a NUMBER(30) to a long?

    Seems to me it doesn't make sense to map a NUMBER(30) to a java long type,
    but that's what it just did. Shouldn't you map that to a BigInteger?

    I like primitive types too. My point was simply that a Number(30) is too
    big to be represented by a long. And by mapping it to a long, it's very
    likely that you'll get an error trying to populate the long with a number
    like:
    100000000000000000000
    No big deal, just a little startled when I saw it.
    Abe White wrote:
    Well, a lot of people like primitive types. Note that you can customize
    the type Kodo maps each field to:>
    http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_pc_reverse.html#ref_guide_pc_reverse_custom

  • Calculate the percentage of one number against another

    Hi,
    I am using Acrobat Standard and would like to calculate a percentage of one number to another, i.e.
    Loans
    Amount
    % Of total loan
    Bank
    100,000
    Other sources
    17,000
    Total
    117,000
    100%
    I would like to find the two unknown percentages.
    I am totally new to Adobe, so please explain in a step by step manner if this is possible.
    Thank you in advance for your help.
    Caz

    On the iPad my example looks like this:
    To fill the formula down you tap cell and then Fill:
    And drag the bottom part of the yellow rectangle down:
    Wayne's example would look similar.
    SG

  • Mapping a disk on another network

    I want to run a LabVIEW application which needs to map a disk on another network. I want to use WNetAddConnection2 from mpr.dll.
    I have valid accounts on both networks and I succeeded the mapping in Windows Explorer.
    In LabVIEW I didn't succeed, probably because of the way I am transmiting the NETRESOURCE structure to the DLL. If passing like a LabVIEW cluster I'm obtaining error code 1200. If passing like in "CLUSTERSimpleS_A.vi" I get error code 487. These error codes are obtained no matter what values I'm using for dwScope, dwType, dwDisplayType and dwUsage.
    Any help, please ?

    Hello Tom,
    The WNetAddConnection2 needs a NETRESOURCE structure as a input and if you try using Cluster in LabVIEW, it might not work. The best workaround would be creating a C Wrapper that takes in the various data types and converts them to a structure that can be used with the DLL function call.
    An easier alternative would be using the "net use" command in "System Exec.vi" for this application. More information on the use can be found at http://digital.ni.com/public.nsf/websearch/313C5E597B48652F86256D2700674EDB?OpenDocument
    I hope this helps,
    Rajiv

  • Transfer of my mothers phone number to another cus...

    I have Enduring Power of Attorney for my mother who is one hundred years of age and now resides in a Residentiial Care Home. On checking her phone this morning there was a message (from 25/10) from BT telling her that they were transferring her number to another customer on 31st October.
    Her line rental is infact paid up to January 2014.  Surely they cannot just take her number away. Whilst she makes virtually no calls herself a great number of people phone her to keep in touch by this phone number. Her bills are paid on time and never in arrears.
    How do I stop this from happening? I just despair

    I have asked a moderator to provide assistance, they will post an invite on this thread.
    They are the only BT employees on this forum.
    Once you get a reply, if you click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    For your own security, do not post any personal details, on this forum. That includes any tracking number you are give.
    They will respond either by phone or e-mail within 5-6 working days.
    Please use the tracked e-mail, to reply, not via the forum. Thanks
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • I would like to switch my number to another phone i have

    I would like to switch my number to another phone I have

    Yes.
    You may have to call into Verizon Customer care if you have a smartphone to remove the data plan and help you move over.  Other than that it's a simple swap between devices.  Contract doesn't matter unless you negligent in payment(or the person who you bought the device from is).

  • Can I activate with a phone number from another state?

    Hi, I'm thinking buying the phone but wanted to know if I can or how I can activate it with a number from another state. I travel between Hawaii and Nevada a lot and was thinking about getting a local number in Nevada for the iphone. However, all my billing adresses from credit cards have Hawaii addresses. I also don't have any kind of address in Nevada. Anyone know if this can be done?

    reading the OP's statement...
    The OP lives in Hawaii and wants to activate a iPhone with a Nevada phone number which the OP does not have yet. The OP also has not billing address in Nevada or any Nevada address. Now while AT&T will give you a out of state number and they will carry a out of state number with you. iTunes is set up to give you a local number, upon activating a new phone iTunes is not designed or equipted to let you choose which areacode you would to start your AT&T account.
    *You are correct but not in the case of what the OP is asking for*... The OP does not currently have this number, so once again for the correct advice is below
    +iTunes will not allow you to request a number from another state that is different from your billing address, you will have to call AT&T first to setup the account, then activate within iTunes+

  • How to buy a skype number of another country

    How to buy a skype number of another country - for example: Panama, considering that i live in Brazil.

    How to buy a skype number of another country - for example: Panama, considering that i live in Brazil.

  • Touch 2 / Hero or Should I Port my number to anoth...

    Hi All,
    Sorry. All in a muddle, lost without my phone!
    Does anyone know if you port a BBA mobile number to another mobile provider?
    I'm having a nightmare with my S710 turning off when it wants to and dumping freshly downloaded emails. Especially when I turn on the WiFi.
    I have spoken to the Sales side and I can get another phone if I am willing to pay for it, either extra or in one lump.
    The trouble is that if I want the phone free then at £30 a month on top of my Braodband Anywhere allowance the Hero is plonked straight in line with the iPhone if I upgrade my package. Or the Touch at slightly less.
    I was informed by the sales staff that if I wanted to leave then this was my choice as my BBA contract is now ended.
    If I stay with BT - Whats the best phone for emails and a little bit of web browsing? Touch or hero?
    Is the iPhone better than the hero?

    In my opinion, the iPhone is better than the HTC Hero. If you're choosing between the 2 BT phones though, make sure you get the Hero. It is honestly much, much better than the Touch 2.
    Edit: The current iPhone (iPhone 4) has had some problems with signal strength when you hold it a certain way (in the bottom left hand corner). Bear that in mind when making a decision. However, Apple are giving a free iPhone protector away to compensate for this design flaw.

Maybe you are looking for

  • How to remove space between pages in Oracle Reports 6i?

    Hi, I have customized one oracle report (rdf). Earlier, the standard report was showing the ouput in pages i.e. there exists space beteen the pages. But I want my custom report in such a way that it should show me the result in one page i.e. there sh

  • I have a Mac, my wife works on a PC - We have 1 iPod Mini

    Is it possible to connect this iPod Mini on my Mac at home and on her PC at work? I mean, to update it in both places? Thanks. JP

  • IWeb not publishing my website

    Hi, I've just made many modifications to my personal iWeb website, I'm uploading it to MobileMe and using a custom address (www.hediregaya.com), Once I click on the publish button, I don't see anymore the pie diagram (status), when I try to Quit the

  • Password and i-Tunes 7.0 install

    Dont know if anyone can help , but I need to upgrade to i-Tunes 7.0 because I just purchased a new i-Pod 2GB and I cant remember my administrator password and dont have access to my set up disc at the moment. Does anyone know if there is a way round

  • Problem accessing JDev Generated Web Service on PL/SQL Package

    Hi, I'v generated a web service from a pl package using the wizard in JDev for use with Adobe Flex builder. Adobe says they support two types of web services, WSDL 1.1 RPC-Encoded and Document-literal. When I create the web service as Document litera