Problem java.text.NumberFormatter with specified numbers

Hello!
I have a peculiar problem with NumberFormatter class. Some numbers when formatted, are incorrect formatted. See the code:
public static void main(String[] args) {
        // TODO code application logic here
        System.out.println("Print Double 133361.60: \n"+133361.60d);
        System.out.println("Print Float 133361.60: \n"+133361.60f);
        System.out.println("Maximum Float Value 133361.60: \n"+Float.MAX_VALUE);
        System.out.println("Formatting Float number 133361.60: \n"+NumberFormat.getInstance().format(new Float(133361.60)));
        System.out.println("Formatting Double number 133361.60: \n"+NumberFormat.getInstance().format(new Double(133361.60)));
        System.out.println("Formatting Double number 888888.60: \n"+NumberFormat.getInstance().format(new Double(888888.60)));
        System.out.println("Formatting Float number 888888.60: \n"+NumberFormat.getInstance().format(new Float(888888.60)));
    }Now, see the out image:
[Float incorrect format Netbeans image|http://farm5.static.flickr.com/4131/4980695450_97bde8a985_b.jpg]
Thank you !!
Edited by: denis.r.s on Sep 11, 2010 1:57 PM

hello again and thanks for answering!
I put the code that was to outline in simple terms the problem. Actually this code is attached to JFormattedTextField to format numbers. I use it the way you suggested. However, I did as you said and still the problem occurs. The difference is that it rounds the numbers, I put the number of homes without just to illustrate how it transforms into another number when it formats it. You tried to run the code? Perhaps it is hardware problem or OS, but do not know. See the new code and the output:
public static void main(String[] args) {
        // TODO code application logic here
        System.out.println("Print Double 133361.60: \n"+133361.60d);
        System.out.println("Print Float 133361.60: \n"+133361.60f);
        System.out.println("Maximum Float Value 133361.60: \n"+Float.MAX_VALUE);
        NumberFormat n = NumberFormat.getInstance();
        n.setMaximumFractionDigits(2);
        n.setMinimumFractionDigits(2);
        System.out.println("Formatting Float number 133361.60: \n"+n.format(new Float(133361.60)));
        System.out.println("Formatting Double number 133361.60: \n"+n.format(new Double(133361.60)));
        System.out.println("Formatting Double number 888888.60: \n"+n.format(new Double(888888.60)));
        System.out.println("Formatting Float number 888888.60: \n"+n.format(new Float(888888.60)));
    }[Image Number Formatter with maximum, minimum fraction digits|http://farm5.static.flickr.com/4108/4986562950_092502c5e7_b.jpg]
Thank you for your attention and sorry for my bad english!

Similar Messages

  • Problem Mail-Adapter attachment with specified name

    Hi,
    We have the following scenario:
    We have some EDIFACT-suppliers which we have to connect over Mail-adapter.
    We have to fullfill several specifications by sending the mail.
    So we have to create a specific filename for the EDI-attachment and the subject. Therefore I used the adapterspecific attribute THeaderSUBJECT, which we set in Mapping. This works fine.
    Now the problem: We have to send only the payload-document as attachment of the mail with the same name as the subject of the mail. So we can't use the keep-attachment flag because then all attachments of this message would be sent in the mail.
    How is it possible to send only the payload as attachment without any other documents and with specified filename in the attribute THeaderSUBJECT?
    Has anybody an idea how to solve this problem?
    Regards
    Thorsten

    Hi,
    I have found a solution.
    In a new module I copy the original paload to the payload of a new message object without attachments.
    After calling this module I call the standard module MessageTransformBean to transform the payload into the attachment of the message.
    Here the code of my module:
    String fileName = msg.getMessageProperty("http://sap.com/xi/XI/System/Mail","THeaderSUBJECT");
    // Generate new message object
    Context ctx = new InitialContext();
    ConnectionFactory cf = (ConnectionFactory) ctx.lookup(com.sap.aii.af.ra.ms.api.ConnectionFactory.JNDI_NAME);
    MessageFactory factory = cf.createMessageFactory("XI");
    Message msgnew = factory.createMessage(msg.getFromParty(),msg.getToParty(),msg.getFromService(),msg.getToService(), msg.getAction());
    msgnew.setConversationId(msg.getConversationId());
    msgnew.setDeliverySemantics(msg.getDeliverySemantics());
    msgnew.setCorrelationId(msg.getMessageId());
    msgnew.setMessageProperty("http://sap.com/xi/XI/System/Mail","THeaderSUBJECT",fileName);
    String contentType = new String("text/plain;name="" + fileName + """);               
    // Copy original message to the new message
    XMLPayload payload = (XMLPayload)(msg.getDocument());
    payload.setContentType(contentType);
    payload.setDescription("file");
    payload.setName(fileName);
    msgnew.setDocument(payload);
    Now it works like it should work.
    Regards
    Thorsten

  • Java.text.SimpleDateFormat  with zones

    Hi,
    I have a log file which has a date format as below:
    20091224060656.000000+060
    Wondering if java.text.SimpleDateFormat would be able to parse it properly.I was seeing this API and it didnot have any exact syntax for parsing this kind of date format.
    Please let me know.
    Regards
    Sayan

    sayanb wrote:
    Hi,
    Thank you for the response.The problem is this is one our client's log file which we are trying to parse using the java.text.SimpleDateFormat from our own java application.
    Hence not sure about +060. I guess the part after the . represent the zone , please correct me.But +060 not sure what this means and I dont think java.text.SimpleDateFormat has a way to parse this.
    Please let me know your comments.Uhm, you need to "tell" SimpleDateFormat what the format is, if you don't know how to interpret the format, how are you going to be able to configure SimpleDateFormat. Contact your "client" and make sure you understand the format, then look at the API docs for SimpleDateFormat and hammer out a pattern string for that format. (But I would assume that the "part after the dot" is second fragments (smaller than milliseconds but larger than nanoseconds, about half-way between, what the name for that is, I'm not sure), and that the part with the "plus" is the timezone, probably +060 is the same as +0600.) IOW, you will probably have to "preprocess" the string removing the last three digits before the "plus" and adding a 0 to the end, but that is only a guess.

  • Problem crating text index with PREFIX_INDEX option

    I am trying to create a text index with prefixes option for use in wildcard search scenarios.
    Here is the code I use:
    connect CTXSYS/*******
    BEGIN
    ctx_ddl.create_preference('wildcard_pref', 'BASIC_WORDLIST');
    ctx_ddl.set_attribute('wildcard_pref','PREFIX_INDEX','TRUE');
    ctx_ddl.set_attribute('wildcard_pref','PREFIX_MIN_LENGTH',3);
    ctx_ddl.set_attribute('wildcard_pref','PREFIX_MAX_LENGTH',8);
    ctx_ddl.set_attribute('wildcard_pref','SUBSTRING_INDEX','YES');
    END;
    And preference is created
    SELECT PRE_OWNER, PRE_NAME FROM CTXSYS.CTX_PREFERENCES;
    PRE_OWNER PRE_NAME
    CTXSYS WILDCARD_PREF
    CTXSYS DEFAULT_STORAGE
    CTXSYS DEFAULT_CLASSIFIER
    Now when I log as one of the database users and try to create the index,
    I got this:
    create index wildcard_idx on MY_Table(Name)
    indextype is ctxsys.context
    parameters ('WORDLIST wildcard_pref') ;
    create index wildcard_idx on MY_Table(Name)
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10700: preference does not exist: wildcard_pref
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
    What I am doing wrong ? Keep in mind that I was able to create a text index without the prefixes, but a lot of the searches will be based on patial word search.
    Eventualy I would also like to make those indexes be tansactional and work as a datastore (multiple column search)
    Thanks.
    Stefan

    Problem solved.
    Atrributes and preferences had to be created by the same user creating the index.
    Log as sysdba and
    GRANT EXECUTE ON CTX_DDL TO <user_that_creates_index>
    And it works.
    Message was edited by:
    Stef4o

  • Problems moving text from safari to numbers and pages

    Hi,
    I'm trying to copy some data from a website, for example, an address with multiple lines of text, and paste it into a cell in numbers, and from there into a cell in a table in pages.
    The trouble is that the original text is sometimes formatted on the web site with returns after each line, and when I try to paste that into numbers or pages, each line goes into a different cell, which is a pain in the ***, and I have to retype the whole thing.
    Is there some way that I can have this do what I want it to do, that is, paste the entire address into a single cell?
    Thanks.

    We must double click in the cell before pasting if we want that several 'paragraphs remain in a single cell.
    I clicked once in cell B2, but I clicked twice in cell C2
    Yvan KOENIG (from FRANCE samedi 25 octobre 2008 21:18:35)

  • Problem importing text file with null value

    I used the following codes to import a text file and it
    worked perfectly.
    However, it skipped the TAB (chr(9)) on the imported row when
    there is no data (empty string) in one of the columns.
    Can someone help? thanks!
    sample text file data:
    00001 desc1 12.00
    00002 25.00
    00003 desc2 15.00
    Code that I used:
    <cffile action="read" file="#FilePath#"
    variable="data">
    <cfset newLine = chr(13) & chr(10)>
    <cfset tabChar = chr(9)>
    <cfoutput>
    <cfloop list="#data#" index="row"
    delimiters="#newLine#">
    <cfset cols = listToArray(row, tabChar)>
    ID = #cols[1]#
    desc = #cols[2]#
    price = #cols[3]# <br>
    </cfloop>
    </cfoutput>

    There is no perfect way to handle this with out you writing
    more complicated code.
    A good compromise is to replace this line:
    <cfset cols = listToArray(row, tabChar)>
    with this:
    <cfset cols = listToArray (Replace (row, tabChar &
    tabChar, tabChar & "{empty}" & tabChar, "ALL"),
    tabChar)>

  • Problem using text element with type TEXT INCLUDE in smartforms

    Hi,
    I am working on smartform.
    My requirement is to print the text which can range from 1 to 99 (free text). I am using TDNAME, TDOBJECT and TDID from STXH table and putting it in the fields Text Name, Text Object and Text ID of text element created with type "TEXT INCLUDE" in window in smartform.
    It works Fine only when I put exact value of TDNAME in Text Name field.
    But in my case TDNAME can vary according to value of AENNR from Table AENR.
    So I am trying to use a variable called W_TDNAME and pass TDNAME value to it. I am putting this W_TDNAME in the field TEXT NAME. And it says "Inlcude text W_TDNAME does not exist".
    HELP ME OUT.
    ANSWERS WILL BE AWARDED..
    Tushar

    Hi Tushar,
    When you see in Text name field, there is a small button at the end of that field. This is to switch the dynamic field value option on. Click that and use the format &field_name& to enter your variable in that field.
    Deepak Charanyan

  • Problem with decimal numbers..

    hi i posted the other day with a problem I had. I thought it was all sorted but I have just realised that there is another problem.
    I have the following code for an applet:
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class TextFieldExample extends Applet implements ActionListener {
    TextField textInput;
    String text = "";
    public void init() {
    textInput = new TextField (20);
    add(textInput);
    textInput.addActionListener(this);
    public void actionPerformed(ActionEvent e) {
    text = textInput.getText();
    repaint();
    public void paint(Graphics g) {
         int x = Integer.parseInt(text);
         double y = Math.abs(x);
    g.drawString("You wrote " + text,20,500);
         g.drawString("The absolute value is: " + y,20,100);
    I am trying to do the applet so when you type in an angle, it tell you the sine, cosine etc. I can get it to work with whole numbers like 1,10,300, but it won't work when i try to use decimal numbers. Can anyone help?
    Thnk you in advance!
         

    Hi,
    you are using Integer.parseInt() to convert the input, so it will only work if the text is an integer. Use Double.parseDouble() instead.
    Andre

  • High bill with unusual calls and texts from non-functioning numbers?

    We have a family share plan with 3 phones, one phone for my husband and two phones for our employees.  Our usual phone bill runs around $150.  Our last bill was over $600, the majority charges being on one of our employee's lines.  This particular employee has been with us for over 10 years, and has always been extremely trustworthy and very frugal in his usage of his phone to make personal calls (very infrequent and always less than 5 minutes in duration, unless made during the free nights and weekends timeframe).  Our latest bill showed over 1,000 texts to/from his phone, as well as over 3,000 peak calling minutes (both to/from his phone) alone.  Many of the peak calls are lengthy in duration (30+ minutes, up to 120 minutes).  I realize this post is long, so will divide it into headings so that it makes more sense:
    Information on usage:
    Our employee insists that he did not make these calls and texts (he does not even know how to text), and what is odd about the numbers that appear on the detail (both text and voice) is that they fit into one of two categories:
    1.  There are calls to two particular non-local area code numbers (and possibly bogus, as they have area codes 523 and 352(?)).  When I call the two numbers, I get the following messages:
    From my landline:  When called from my landline, adding a "1" before the 10 digit number, I get the recording stating that "your number cannot be completed as dialed, please check the number and dial again"
    From a cell number- When calling from my own VZW phone (on separate account from husband's), I get a VZW message that the number "has been changed, disconnected or is no longer in service"
    2. They are local area code numbers, but when I call the number, I get a recording asking me to enter my pin number (in other words, they are numbers that cannot receive incoming calls, but according to our bill, have not only made calls to our employee's phone, but also received calls.  I have done an online lookup on these numbers and they are all cell phones.
    3.  When I have tried to text the non-local numbers from my VZW phone, I get messages back stating that these are landline numbers and cannot be texted; when I text the local numbers, I have texted a generic message along the lines of "I can't reach you on the phone.  Please call me as soon as you can" but I do not receive a call back.
    We cannot speak directly with our employee right now (he is in Mexico to pick up his elderly grandmother),  nor can we access our employee's phone to check the log, call history, etc. because he has the phone with him.  Due to this, when we discovered the high usage, we immediately "suspended" the phone line so that no calls could be made or received.  Subsequent to suspending the line, we have talked to his family a couple of times -- one time he happened to call them on another line, so we talked to him "indirectly" through a family member on another line with him.  He was alarmed about the calls and insists he did not make them. 
    He does have children but they are forbidden (by him) from using the phone, and he states that he always keeps the phone in a case on his hip, thus no one else has access to the phone.  To go even further, it seems that most all of the calls to these unusual numbers are made on weekdays, during school hours, so I feel sure the calls were not made by his kids.
    Calls to Verizon:  When we first called Verizon, they suggested we suspend the phone until we could speak to our employee.  Subsequent to our indirect conversation with him mentioned above, we called them back and told them he stated that he did not make the calls nor send the texts, and that we believed the phone might have been compromised, cloned, hijacked or whatever.  First, the customer svc rep looked at our account and suggested that we put an unlimited text on the phone for the current unbilled usage (there were a lot of texts, and we have no text plan on the employee's phone), and then remove that plan once we get to the bottom of this matter. 
    Due to our concern about fraudulent usage, the customer svc. rep called the fraud dept. while my husband was holding on the line.  She came back on the line and told my husband that the fraud dept. said that "it cannot be fraud because if it was, there would be thousands of dollars in international long distance to countries like Pakistan and India." (WTH?)  Also, she said that it couldn't be fraud "because texts were sent to and from the telephone number so we know it was your phone."  (another WTH?)
    She then went on to say that it looks like texts were sent to international numbers (???) recently (these same 523 and 352 area code numbers I referred to above).  Number one, if these were international texts, it seems odd to me that these texts show up on our billed and unbilled activity as "domestic text" and there is no premium charge assessed to our account for international texts.  Number two, if these numbers were international numbers, I imagine that we would be charged for outgoing international calls, which we were not.  Further, I imagine that the numbers would be displayed on our bill in other than a ten digit format, but am not sure, as no one has ever made an international call or text on our phone.
    Next steps:
    Does anyone have advice for the next steps we should take and how we can get to someone in customer service who can actually help us with this problem, instead of what we experienced on our previous call?  Can we demand that Verizon launch an investigation through its fraud department on the activity on this phone, or is this at the discretion of VZW to launch an investigation?  I am unsure, since this was not given as an option by the customer service rep... 
    If we can get Verizon to launch an investigation, is payment of the portion of the bill with the unusual and disputed usage (namely, that which is over and above the usual usage) waived pending the investigation results, or will we have to pay the entire bill to both avoid having the phones turned off, as well as any detrimental effects to our credit?  We've been hit hard by the economy, both personally (I am out of work right now) and business wise (my husband's business has been doing only about 25% of its usual business), and we don't have the extra $$ for the bill unless we take it out of our grocery budget. 
    If anyone has any insight, suggestions or otherwise, I sure would appreciate it.  Sorry for the lengthy first post, but I thought it would be helpful to outline as much about the situation as I could in order that people could respond.  Thanks in advance!

    kbinga,
    I know this is a confusing and frustrating situation for you. I would be happy to review the account in detail to see what is happening with the usage and charges to ensure it does not continue to be a problem for you. Please send me a direct message for further support assistance.
    Thank you!
    AdamE_VZW
    Follow us at @VZWSupport

  • Java.text.SimpleDateFormat millisecond problem...

    When I run this code:
    java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat();
    formatter.applyLocalizedPattern("yyyy-MM-dd HH:mm:ss.000000");
    java.util.Date date1 = formatter.parse("2001-08-14 13:49:38.000000", new java.text.ParsePosition(0) );
    System.out.println("Date 1 = " + date1);
    formatter.applyLocalizedPattern("yyyy-MM-dd HH:mm:ss.SSS000");
    java.util.Date date2 = formatter.parse("2001-08-14 13:49:38.000000", new java.text.ParsePosition(0) );
    System.out.println("Date 2 = " + date2);
    The output is:
    Date 1 = Tue Aug 14 13:49:38 GMT+01:00 2001
    Date 2 = null
    The only difference is in the localized pattern, date 1 is generated where milliseconds aren't in the localized pattern, date 2 is generated where milliseconds are in the localized pattern.
    Why is date2 null????

    Hi! When you use the second pattern, it appears that "yyyy-MM-dd HH:mm:ss.SSS000" is not an acceptable pattern. However, "yyyy-MM-dd HH:mm:ss.SSS" works. I'd hazard a guess that when you specify milliseconds, only three places are allowed.
    If you used pattern #2 as you had specified originally, a java.text.ParseException is thrown. With the above modification, it works as expected.
    Hope this helps!
    Cheers!

  • Problem with reading numbers from file into double int array...

    Okay, this is a snippet of my code:
    public void readMap(String file){
            try {
                URL url = getClass().getResource(file);
                System.out.println(url.getPath());
                BufferedReader in = new BufferedReader(new FileReader(url.getPath()));
                String str;
                String[] temp;
                int j=0;
                while ((str = in.readLine()) != null) {
                    temp = str.split(",");
                    for(int i=0;i<temp.length;i++){
                        map[j] = java.lang.Integer.parseInt(temp[i]);
    j++
    in.close();
    } catch (IOException e) {
    System.out.println("Error: "+ e.toString());
    map[][] is a double int array. Now, the code is running through each line of the text file (with each line looking like this: 0,3,6,2,2,3,1,5,2,3,5,2), and I want to put the numbers into a corresponding double int array (which is where map[][] comes in). Now, this code WOULD work, except I need to set the sizes of each array before I start adding, but I don't know how to get the exact sizes.. how can I get around this issue?
    Message was edited by:
    maxfarrar

    You can do a two-dimensional ArrayList? That syntax
    you wrote didn't work.
    I tried doing:
    private ArrayList<ArrayList><Integer>> map;
    Your syntax is just wrong -- or, this forum software has bug in handling angle brackets.
    ArrayList<ArrayList<Integer>>...The closing angle bracket after the second 'ArrayList' is the one generated by the bug. Basically, it should be T<T<T2>> without spaces. Oh, for that matter:
    Arraylist<ArrayList<Integer>>

  • [CS4] !!text Hebrew with problem unexpected

    This is driving me !sreknob
    I have a couple of Hebrew phrases in an otherwise English text, so I assigned the World Ready Composer to the styles in question using Peter Kahrel's "Arabic" set of scripts, and created a 'Hebrew' character style. No problem: the Hebrew text comes out perfect. What's Not So Nice is that some other text also follows an RTL direction!
    In the above screenshot, you can see the volume number and page range "2:663-676" appear correctly in the Story Editor below. The Story Editor does not know anything about Hebrew, so it reverses the Hebrew text. That's not a problem, because the World Ready Composer fixes that in the formatted text (above).
    But what is going on with the numbers!? No amount of copying & pasting seems to fix this. The paragraph direction is set to Left To Right; the Hebrew text has a character style that only applies another font.
    [Edit] Oh, and of course the square bracket at the right of the numbers isn't corerct either. ]It seems more than a bit [random to me.]

    A-ha! I was right, it's an automatic system going wild. Thanks for confirming it!
    > Sometimes it's easiest just to retype the whole thing....
    I must have used at least half a dozen different methods in the past. Fortunately, each one more advanced than the previous! Let me think, I have:
    * printed from Word to PDF and painstakingly imported/placed/scaled each separate phrase. Pro: anyone can do this. Con: Loads of extra work. Loads of fun with line-spanning text, and the occasional last minute correction. Cannot adjust font.
    * copied from PDF into Illustrator, saved as .ai, the rest as above. Pro: you can tinker with the text (a bit). Con: even more work.
    * reversed the characters in ID. Pro: fast, efficient, can use fonts. Con: it qorked nicely in CS3 and older, but CS4 tries to override accent placing and ligatures, which is troublesome for Hebrew. Also, Arabic needs to have Each Bloody Separate Character checked for correct initial/medial/final form. Another con: line-wrapping needs to be done manually. Only just feasible with short phrases; longer stories -- think of a full paragraph -- needs to be broken manually into lines, because otherwise right-to-left text also appears bottom-to-top.
    * cut phrases out of running text, pasted into separate text box, so I could finally use proper RTL character and paragraph formatting. Text boxes were then re-inserted into the text on the original position. Pro: finally! Automatic ligatures, wonky text cursor, real fonts -- the Real Thing. Con: still no good solution for line-wrapping text. Also, the text boxes themselves caused spacing problems.
    With all said and done, the following worked out nicely at the end:
    1. Add WRC to the correct styles. (I am *neurotic* about getting my style inheritance right. Since in this article both Hebrew and Arabic text appeared in different situations, I could set the WRC to only one style, and the rest also got it from there.)
    2.  Select all text and blindly set its character direction to Left-to-Right.
    3. Search for continuous spans of Hebrew and Arabic (which may include spaces and the occasional punctuation) and apply the right character set for the script to this. At this point I could either include or exclude spaces, periods at end, etc. by manually verifying if the GREP search matched the correct phrase.
    At a couple of positions I encountered the "Operator Error", where a single space was *not* included inside a long RTL phrase -- but only because in a case like this I do not trust my senses nor InDesign, and verify Each Seperate Phrase against the original copy ...

  • Problem with Figure numbering

    HI,
    I am new to InDesign, so can anyone help me with my problem
    i am creating a document in which i need unique figure numbering
    and is working properly in my main text box
    like  Figure-1, Figure-2......
    the problem is when i create another text box for the numbering the figure number changes
    in this image Figure 3 and Figure 4 are in main text box
    and i made separate text box for Figure 46.
    actually instead of 46 it should be 4 and instead of figure 4 it should be figure 5

    First mistake, posting in the Print Design forum rather than the InDesign Forum:
    http://forums.adobe.com/community/indesign

  • All text in browser replaced by symbols with hex numbers

    Last week I detected and removed a trojan (ukash) which my pc contracted while visiting some dodgy site with Firefox. Even though the trojan has been removed completely, I cannot reinstall any version of Firefox (english or other languages), as '''all ''' text is replaced by box-like symbols with hex numbers.
    For example, the import wizard dialog box looks like this:
    http://i43.tinypic.com/2qwlkhx.jpg
    I suspect somehow the default font has been changed to one not supported by Windows, but even with a complete uninstall and removal of all personal settings, the symbols reappear. Is there any way to change the default font? Please remember I cannot change anything within the program, as all text is scrambled in this way, even text I enter in the address bar, so about:config is not accessible.

    It sounds like your computer may still be infected with some sort of a virus / Malware.
    I suggest the following resources:
    To double check your system is clean, do the following (Not official Mozilla advice, just good practice from personal experience)
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]
    Download and Run TDSSKiller [http://support.kaspersky.com/faq/?qid=208283363 http://support.kaspersky.com/faq/?qid=208283363]
    Download and Install Microsoft Security Essentials [http://windows.microsoft.com/en-US/windows/products/security-essentials http://windows.microsoft.com/en-US/windows/products/security-essentials] (not an official endorsement, but I personally recommend MSE as an awesome permanent anti-virus)
    Double check for all Windows Updates.
    If you are still having problems with Malware after that, I would recommend either [http://www.bleepingcomputer.com/virus-removal/ http://www.bleepingcomputer.com/virus-removal/], or having your computer cleaned by a professional.

  • Access db: problem with float numbers if access isn't installed

    hi all,
    i wrote a simple application to store/retrieve float values into/from an access db.
    i tried it on my computer (with ms access installed) and i could store float values (ie 136.5), but when i tried my application (copying all classes and the db) on another machine without ms-access, i couldn't store float values, only int (ie 1365.0).
    the column "price" in the db is set as float with 1 decimal number, and there are other columns set as string, with no problem.
    anyone could help me?
    should i install access into the second machine too?
    thanks
    sandro

    Could it have something to do that on one machine '.' is interpreted as a decimal point, but on the other machine it is interpreted as the , you use in e.g. 1,000 (=1000).
    I would check that both macines use the same Regional Settings (in the control panel).
    Do you use any of the java.text.xxxFormat classes?

Maybe you are looking for

  • New hard drive, itunes library on an external drive... why doesn't it see it?

    My internal hard drive died, has to reinstall snow leapard on my older macpro.  Even though I have pointed itunes to the library I want it to use in preferences, the library isn't seen by itunes.  If I click on a song from the external drive, itunes

  • Alert Config in PI 7.3 AEX

    Hi,          Please let me know of any documentation on Alert config in PI 7.3 AEX (Advanced Adapter Engine Extended). We have single stack installation of PI 7.3 and need to know how we can setup alert config here as there is no Abap stack and being

  • Apple TV, HD TV and Bose 18 System

    I recently upgraded to the 2nd gen. Apple TV and have connected the HDMI cable from the Apple TV to the HDMI plug on the HDTV. The picture and sound are fine between the TV and AppleTV with this connection. Whats the problem then? Well, I want the so

  • Posting Level 01 documents allow cross company postings - unexpected

    hi, Previously users could not enter a PL01 document that crossed companies. Now they can. I had previously thought that this was not possible for PL01 but what is happening is when they enter cross-company postings (2 lines, one each to a different

  • Solaris 8 install on 1 GB Drive

    Is it possible to do a Solaris 8 Installation on a 1 Gigabyte Hard Drive. Possibly a Minimum install? The Installation instuctions require more space, but I could not find any information re: a smaller installation. Any help would be most appreciated