Conversion of a float to IEEE 754 hexa (and vice versa)

Hello everyone,
I need to convert a float into an hexadecimal value to transmit it on a communication bus (I also have to decode the hexa into a float). I need this hexadecimal to respect the IEEE 754 technical standart. I'm trying to do it with the basic functions of Labview but I'm facing some problems. You'll find attached my VI.
If someone has already done such a function or know an easier way to do it, I'll be very grateful.
Attachments:
IEEE 754 conv.png ‏38 KB

If your communication bus in only using singles, then avoid doubles in your code.
How are you converting to a Single from the Doubles?  In my quick experiment, I got the right answer.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
double to single hex.png ‏8 KB

Similar Messages

  • Converting from String to float and vice versa

    I'm interested in people's thoughts on where common logic to convert between various field types should be stored in an application to minimise code duplication and maintenance.
    I have an application which consists of an object and a jPanel which displays and maintains this object. The object contains a number of private float fields which are accessed by getters and setters. The jPanel contains one jTextField for each of the fields within the object.
    Currently I have numerous lines of code in the jPanel to convert between the values needed by the getters and setters in the object (i.e. float) and the String value used by the jTextFields. This code handles cases where the String value may be blank or null.
    I've thought that one alternative to having all this conversion/validation code in the jPanel is to create a second set of getters and setters for each field which accept and return String values.
    What do people think about this? Is it advisable for only have one getter and setter for a variable? Should I put the conversion/validation logic for each field into a seperate common routine?
    Thanks,
    James.

    Hi James,
    You should go with whatever works best for you. By creating multiple getters and setter you save yourself from repeating the same code throughout your program.

  • Helvetica Neue Pro -- Mac to PC font conversion (and vice versa)

    I have a designer I exchange files with -- she's on a Mac, I'm on a PC (don't judge). Everything is seamless because we're both using Illustrator files created in CC. The one issue we're having is with fonts, specifically with Helvetica Neue Pro font family. They don't substitute automatically because the PC version names of that font family do not precisely match the names of her Mac Helvetica Neue Pro family. I have compatible (visually speaking) Helvetica Neue fonts (LT Std) that you can 'find and replace' each time either of us opens a file, but it's a pain. Is there a way around this without having to purchase the (very expensive) Helvetica Pro family OpenType fonts? And if I purchase that font family, will it even solve the problem? Or asked another way, is there a Helvetica Neue font family that is named the same in both PC and MAC versions?
    Thanks for any advice or guidance.

    I don't know where to ask this question
    Please post questions regarding Microsoft Office on Microsoft's own forums for their Mac products:
    http://www.officeformac.com/productforums

  • Conversion of serial output (IEEE 754) to single

    Hi,
    I'm trying to read out the actual values of a MKS PR4000B pressure sensor. I managed to get a connection and read/write data to the device (using serial read/write), but I'm having trouble to convert the read output to a single.
    The manual tells me the floating number is conform to IEEE 754, the response I get are 8 bytes: @head, actual value.byte3, actual value.byte2, 0x00, @head, actual value.byte1, actual value.byte0, 0x00
    I would like to do a cast type to convert it (like in: http://forums.ni.com/ni/board/message?board.id=170​&thread.id=195115&view=by_date_ascending&page=1), but never seem to get the right results.
    HO\@ps@ should translate to something like 01.903
    any ideas?

    Here is a VI that converts your string into a Single .
    Message Edited by VADave on 03-05-2009 11:50 AM
    Visualize the Solution
    CLA
    LabVIEW, LabVIEW FPGA
    Attachments:
    Convert.JPG ‏35 KB
    Convert Serial.vi ‏11 KB

  • IEEE-754-Standard floating point confusion

    Hi there,
    I am really confused. The datatype double should be in C++ and Java the same standard acc. to IEEE-754.
    But when I try to investigate the several bytearrays created from a double value e.g. 1.1d, it is different in C and Java.
    below are the results:
    Value 1.1 in C++
    intCsigned
         bit0     bit1     bit2     bit3     bit4     bit5     bit6     bit7
    byte0     1     1     0     0     1     1     0     1     -51
    byte1     1     1     0     0     1     1     1     0     -52
    byte2     1     0     0     0     1     1     0     0     -116
    byte3     0     0     1     1     1     1     1     1     63
    byte4     1     1     0     0     1     1     0     0     -52
    byte5     1     1     0     0     1     1     0     0     -52
    byte6     1     1     0     0     1     1     0     0     -52
    byte7     1     1     0     0     1     1     0     0     -52
    Value 1.1 in Java
    intJava(signed)
    byte0     0     0     1     1     1     1     1     1     63
    byte1     1     1     1     1     0     0     0     1     -15
    byte2     1     0     0     1     1     0     0     1     -103
    byte3     1     0     0     1     1     0     0     1     -103
    byte4     1     0     0     1     1     0     0     1     -103
    byte5     1     0     0     1     1     0     0     1     -103
    byte6     1     0     0     1     1     0     0     1     -103
    byte7     1     0     0     1     1     0     1     0     -102
    Can please somebody bring light into that?????
    Does somebody know the exact specification of a double datatype in c++ and java?
    with the best regards,
    stonee

    OK,
    It seems my C-program created a bad array. I finally
    found out, that the Java and C Array of each double is
    exactly turned.
    C[0] == J[7]
    C[1] == J[6]
    C[2] == J[5]
    its probably big endian vs little endian issues plus on top of that nibble swapping.
    I happen to be working on this very problem at this instant. I'll see what I can dig up.

  • Convert Floating Point Decimal to Hex

    In my application I make some calculations using floating point format DBL,and need to write these values to a file in IEEE 754 Floating Point Hex format. Is there any way to do this using LabVIEW?

    Mike,
    Good news. LabVIEW has a function that does exactly what you want. It is well hidden though...
    In the Advanced/Data manipulation palette there is a function called Flatten to String. If you feed this funtion with your DBL precision digital value you get the IEEE-754 hexadecimal floating point representation (64 bit) at the data string terminal (as a text string).
    I attached a simple example that shows how it works.
    Hope this helps. /Mikael Garcia
    Attachments:
    ieee754converter.vi ‏10 KB

  • Fichier au format ieee 754

    Bonjour,
    Est-ce-qu'il est possible de traiter directement un fichier au format IEEE-754 sous Diadem??
    Sachant que ce fichier est généré par labview sous une extension qu'on a défini *.rap (comme acquisition rapide).
    Je joins un exemple de mon fichier.
    Merci d'avance.

    Hi M. Brad Turpin,
    Yes, I have a LabVIEW program which is streaming binary (IEEE-754) data to disk to a file with the extension *.rap, and I would like to know if it is possible to read this file into DIAdem directly? 
    I attach in the folder *.zip the VI and several *.rap file. The VI ("PXI31.vi") write these *.rap files in the NI PXI 8186. I have too a VI ("concatenar_archivos.vi") that transfer and concatenate these *.rap files in a PC. In the folder "NI.zip", you have several  *.rap file and one *.txt file that the conversion in float of file "5_11-43-05_11-10-2007_NI.Rap". Like this, you can to compare.
     In the *.rap file acquisition, from the "5_11-..rap" you have 48 channels and 120 sample. And in other *.rap file acquisition, I have 32 channels and 500000 sample but I can't send this file because it's big file.
    Thanks you for help.
    Attachments:
    NI.zip ‏1038 KB

  • How to read register storaged in IEEE 754

    Hi!
    I need to build an application to read registers from my gauge. Application is almost finished but values i get on from holding register are different than values on my gauge (ex. i have voltage 230V on gauge, and values about 20k in application). Gauge stores values in IEEE 754 32-bit format and I have no idea how to read it to get correct value. I saw it's possible with using "Type cast", but i don't know how to configure it, I am totally newbie in LabVIEW. I will be much grateful if someone could show me a VI with reading from IEEE 754 option, or just tell me how to do it in detail (what to click, what to write, etc ) 
    Sorry for my english, I hope I didn't make many mistakes  
    Greets
    Solved!
    Go to Solution.

    Notice your red dots, they indicate a data type mismatch. Remove the byte array to string, because it truncates your U16 array elements to U8. Typecast and unflatten accepts U16 arrays directly. (corrected, see answer below)
    Also change your "holding registers" to a diagram constant (righ-click terminal...change to constant). Only the type matters, the data is irrelevant here. (Shouldn't it be a scalar SGL instead?)
    Sorry, I don't have the toolkit so I am missing your subVI.
    LabVIEW Champion . Do more with less code and in less time .

  • Conversion - ASCII (Alphabet) to Hexa  and Hexa to ASCII (Alphabet)

    Hi Guys,
    Can you please give me the code to change ALPHABET  to HEXA  and HEXA to ALPHABET in UNICODE system.
    1. I want to convert alphabet 'A' to Hexa.
    2. Convert Hexa to back in Alphabet (ASCI).
    Thanks,
    mini

    No Response.

  • Unable to convert pdf to any other format. Tried cloud as well as acrobat reader. Reader error message "unable to contact service" and Cloud message "conversion error". I tried multiple pdf documents and checked security settings on all of them. Help Plea

    nable to convert pdf to any other format. Tried cloud as well as acrobat reader. Reader error message "unable to contact service" and Cloud message "conversion error". I tried multiple pdf documents and checked security settings on all of them. Help Please!

    Hi skydivingsnowman,
    I'm sorry you're having such trouble using the ExportPDF service. What browser are you using?
    Please try clearing your browser cache, or using a different browser (here's a list of supported browsers:   http://www.adobe.com/acom/systemreqs/.
    Please let me know if that works.
    Best,
    Sara

  • For num to word conversion & vice versa

    Dear all,
    Can any one give me the full Code or sample for converting Number into word or vice versa. Pl. give me the PL/SQL code for the same ASAP.
    Thanx in Advance.
    Regds,
    Bhavesh

    Hi,
    You can use the following SQL statement to convert number in to words:
    SELECT TO_CHAR (TO_DATE(TO_CHAR(50560,'99999999999'),'J'),'JSP') from dual;
    will output:
    FIFTY THOUSAND FIVE HUNDRED SIXTY
    Keep in mind, there is some restriction here, as we are using Oracle Julian Date for conversion, and as per Oracle restriction Julian days can be between 1 and 5373484 (31-Dec-9999). So if your number range is between this, then you can use it with no problem.
    Thanks
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Bhavesh Mehta ([email protected]):
    Dear all,
    Can any one give me the full Code or sample for converting Number into word or vice versa. Pl. give me the PL/SQL code for the same ASAP.
    Thanx in Advance.
    Regds,
    Bhavesh<HR></BLOCKQUOTE>
    null

  • Help with binary to decimal, binary to hex, and hex to ascii or ascii to hex program

    I decided to do a program that will do binary to decimal, binary to hex, and hex to ascii for a project related to a java programming course, which only needs to perform features from chapters 1-6 and 8 of Tony Gaddis's book. The functions work fine as their own main programs out side of this combined effort, so can anyone help me determine why I get the following 41 errrors saying: class, interface, or enum expected as well as any other errors that may show up afterwards because I'm stumped. My flowcharts, which have to be revised after discovering that my previous function were logically incorrect after running them in their own main are attached below as the spec sheet.
    My code is as follows and I hope you don't mind the commented lines of unused code because I'm not sure where I want things and what I want at the moment:
    import java.util.Scanner;
    import java.io.*;
    import java.lang.*;
    public class BintoDectoHextoAscii
       public static void main(String[] args)throws IOException
          Scanner input = new Scanner(System.in);
          System.out.println("Enter a binary number: ");
          String binary = input.nextLine(); // store input from user
         if (binary == input.nextLine())
          //int i= Integer.parseInt(hex,2);
          //String hexString = Integer.toHexString(i);
          //System.out.println("Hexa decimal: " + hexString);
          //int finaldecimalvalue = binaryToDecimal(hexString);
          int finaldecimalvalue = binaryToDecimal(hexString);
         if (binary != input.nextLine())
          String hexInput; // The variable Bin Input declared as the datatype int to store the Binary value  
          // Create a Scanner object for keyboard input.
          //Scanner keyboard = new Scanner(System.in);
          // Get the number of binary files.
          System.out.print("Enter the Hex value: ");
          hexInput = keyboard.nextLine();
          System.out.println("Original String: "+ hexInput);
          //String hexEquivalent = asciiToHex(demoString);
          String hexEquivalent = asciiToHex(hexInput);
          //Hex value of original String
          System.out.println("Hex String: "+ hexEquivalent);
          String asciiEquivalent = hexToASCII(hexEquivalent);
          //ASCII value obtained from Hex value
          System.out.println("Ascii String: "+ asciiEquivalent);String finalhexOutput = HextoAsciiConverter(hexEquivalent);
         if (binary != input.nextLine() && hexInput != keyboard.nextLine())
             BufferedReader binInput = new BufferedReader(new InputStreamReader(System.in));
             System.out.println("Enter the Binary number:");
             String hex = binInput.readLine();
             //String finaldecimalvalue = binaryToDecimal(decimal);
             //long finalhexvalue = BinaryToHexadecimal(num);
             long finalhexvalue = BinaryToHexadecimal();
       public static String BinaryToHexadecimal(String hex)
          //public static void main(String[] args)throws IOException
             //BufferedReader bf= new BufferedReader(new InputStreamReader(System.in));
             //System.out.println("Enter the Binary number:");
             //String hex = binInput.readLine();
             long num = Long.parseLong(hex);
             long rem;
             while(num > 0)
             rem = num % 10;
             num = num / 10;
             if(rem != 0 && rem != 1)
             System.out.println("This is not a binary number.");
             System.out.println("Please try once again.");
             System.exit(0);
             int i= Integer.parseInt(hex,2);
             String hexString = Integer.toHexString(i);
             System.out.println("Hexa decimal: " + hexString);
          return num.tolong();
      //int i= Integer.parseInt(hex,2);
      //String hexString = Integer.toHexString(i);
      //System.out.println("Hexa decimal: " + hexString);
    //} // end BintoDectoHextoAsciil
       //public static String HexAsciiConverter(String hextInput)
          // Get the number of binary files.
          //System.out.print("Enter the Hex value: ");
          //hexInput = keyboard.nextLine();
          //System.out.println("Original String: "+ hexInput);
          //String hexEquivalent = asciiToHex(demoString);
          //String hexEquivalent = asciiToHex(hexInput);
          //Hex value of original String
          //System.out.println("Hex String: "+ hexEquivalent);
          //String asciiEquivalent = hexToASCII(hexEquivalent);
          //ASCII value obtained from Hex value
          //System.out.println("Ascii String: "+ asciiEquivalent);
       //} // End function  
       private static String asciiToHex(String asciiValue)
          char[] chars = asciiValue.toCharArray();
          StringBuffer hex = new StringBuffer();
          for (int i = 0; i < chars.length; i++)
             hex.append(Integer.toHexString((int) chars[i]));
          return hex.toString();
       private static String hexToASCII(String hexValue)
          StringBuilder output = new StringBuilder("");
          for (int i = 0; i < hexValue.length(); i += 2)
             String str = hexValue.substring(i, i + 2);
             output.append((char) Integer.parseInt(str, 16));
          return output.toString();
       public static String binaryToDecimal(String binary)
            //Scanner input = new Scanner(System.in);
            //System.out.println("Enter a binary number: ");
            //String binary = input.nextLine(); // store input from user
            int[] powers = new int[16]; // contains powers of 2
            int powersIndex = 0; // keep track of the index
            int decimal = 0; // will contain decimals
            boolean isCorrect = true; // flag if incorrect input
           // populate the powers array with powers of 2
            for(int i = 0; i < powers.length; i++)
                powers[i] = (int) Math.pow(2, i);
            for(int i = binary.length() - 1; i >= 0; i--)
                // if 1 add to decimal to calculate
                if(binary.charAt(i) == '1')
                    decimal = decimal + powers[powersIndex]; // calc the decimal
                else if(binary.charAt(i) != '0' & binary.charAt(i) != '1')
                    isCorrect = false; // flag the wrong input
                    break; // break from loop due to wrong input
                } // end else if
                // keeps track of which power we are on
                powersIndex++; // counts from zero up to combat the loop counting down to zero
            } // end for
            if(isCorrect) // print decimal output
                System.out.println(binary + " converted to base 10 is: " + decimal);
            else // print incorrect input message
                System.out.println("Wrong input! It is binary... 0 and 1's like.....!");
            return decimal.toint();
       } // end function
    The errors are as follows:
    ----jGRASP exec: javac BintoDectoHextoAscii.java
    BintoDectoHextoAscii.java:65: error: class, interface, or enum expected
       public static String BinaryToHexadecimal(String hex)
                     ^
    BintoDectoHextoAscii.java:73: error: class, interface, or enum expected
             long rem;
             ^
    BintoDectoHextoAscii.java:74: error: class, interface, or enum expected
             while(num > 0)
             ^
    BintoDectoHextoAscii.java:77: error: class, interface, or enum expected
             num = num / 10;
             ^
    BintoDectoHextoAscii.java:78: error: class, interface, or enum expected
             if(rem != 0 && rem != 1)
             ^
    BintoDectoHextoAscii.java:81: error: class, interface, or enum expected
             System.out.println("Please try once again.");
             ^
    BintoDectoHextoAscii.java:83: error: class, interface, or enum expected
             System.exit(0);
             ^
    BintoDectoHextoAscii.java:84: error: class, interface, or enum expected
             ^
    BintoDectoHextoAscii.java:87: error: class, interface, or enum expected
             String hexString = Integer.toHexString(i);
             ^
    BintoDectoHextoAscii.java:88: error: class, interface, or enum expected
             System.out.println("Hexa decimal: " + hexString);
             ^
    BintoDectoHextoAscii.java:90: error: class, interface, or enum expected
          return num.tolong();
          ^
    BintoDectoHextoAscii.java:91: error: class, interface, or enum expected
       ^
    BintoDectoHextoAscii.java:124: error: class, interface, or enum expected
          StringBuffer hex = new StringBuffer();
          ^
    BintoDectoHextoAscii.java:125: error: class, interface, or enum expected
          for (int i = 0; i < chars.length; i++)
          ^
    BintoDectoHextoAscii.java:125: error: class, interface, or enum expected
          for (int i = 0; i < chars.length; i++)
                          ^
    BintoDectoHextoAscii.java:125: error: class, interface, or enum expected
          for (int i = 0; i < chars.length; i++)
                                            ^
    BintoDectoHextoAscii.java:128: error: class, interface, or enum expected
          ^
    BintoDectoHextoAscii.java:130: error: class, interface, or enum expected
       ^
    BintoDectoHextoAscii.java:135: error: class, interface, or enum expected
          for (int i = 0; i < hexValue.length(); i += 2)
          ^
    BintoDectoHextoAscii.java:135: error: class, interface, or enum expected
          for (int i = 0; i < hexValue.length(); i += 2)
                          ^
    BintoDectoHextoAscii.java:135: error: class, interface, or enum expected
          for (int i = 0; i < hexValue.length(); i += 2)
                                                 ^
    BintoDectoHextoAscii.java:138: error: class, interface, or enum expected
             output.append((char) Integer.parseInt(str, 16));
             ^
    BintoDectoHextoAscii.java:139: error: class, interface, or enum expected
          ^
    BintoDectoHextoAscii.java:141: error: class, interface, or enum expected
       ^
    BintoDectoHextoAscii.java:144: error: class, interface, or enum expected
       public static String binaryToDecimal(String binary)
                     ^
    BintoDectoHextoAscii.java:150: error: class, interface, or enum expected
            int powersIndex = 0; // keep track of the index
            ^
    BintoDectoHextoAscii.java:151: error: class, interface, or enum expected
            int decimal = 0; // will contain decimals
            ^
    BintoDectoHextoAscii.java:152: error: class, interface, or enum expected
            boolean isCorrect = true; // flag if incorrect input
            ^
    BintoDectoHextoAscii.java:155: error: class, interface, or enum expected
            for(int i = 0; i < powers.length; i++)
            ^
    BintoDectoHextoAscii.java:155: error: class, interface, or enum expected
            for(int i = 0; i < powers.length; i++)
                           ^
    BintoDectoHextoAscii.java:155: error: class, interface, or enum expected
            for(int i = 0; i < powers.length; i++)
                                              ^
    BintoDectoHextoAscii.java:159: error: class, interface, or enum expected
            for(int i = binary.length() - 1; i >= 0; i--)
            ^
    BintoDectoHextoAscii.java:159: error: class, interface, or enum expected
            for(int i = binary.length() - 1; i >= 0; i--)
                                             ^
    BintoDectoHextoAscii.java:159: error: class, interface, or enum expected
            for(int i = binary.length() - 1; i >= 0; i--)
                                                     ^
    BintoDectoHextoAscii.java:166: error: class, interface, or enum expected
                else if(binary.charAt(i) != '0' & binary.charAt(i) != '1')
                ^
    BintoDectoHextoAscii.java:169: error: class, interface, or enum expected
                    break; // break from loop due to wrong input
                    ^
    BintoDectoHextoAscii.java:170: error: class, interface, or enum expected
                } // end else if
                ^
    BintoDectoHextoAscii.java:174: error: class, interface, or enum expected
            } // end for
            ^
    BintoDectoHextoAscii.java:180: error: class, interface, or enum expected
            else // print incorrect input message
            ^
    BintoDectoHextoAscii.java:185: error: class, interface, or enum expected
            return decimal.toint();
            ^
    BintoDectoHextoAscii.java:186: error: class, interface, or enum expected
       } // end function
       ^
    41 errors
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.

    so can anyone help me determine why I get the following 41 errrors saying: class, interface, or enum expected as well as any other errors that may show up afterwards because I'm stumped.
    Yes - YOU CAN!
    My code is as follows and I hope you don't mind the commented lines of unused code because I'm not sure where I want things and what I want at the moment:
    Excellent! Commenting out code is EXACTLY how you troubleshoot problems like yours.
    Comment out sections of code until the problem goes away. Then start adding back ONE SECTION of code at a time until the problem occurs. When it does you have just FOUND the problem.
    If you do that you wind up with code that looks like this:
    import java.util.Scanner;
    import java.io.*;
    import java.lang.*;
    public class BintoDectoHextoAscii  {
          public static void main(String[] args)throws IOException      {
             Scanner input = new Scanner(System.in);
             System.out.println("Enter a binary number: ");
             String binary = input.nextLine(); // store input from user
                  public static String BinaryToHexadecimal(String hex)     {     } // end function        
    Notice ANYTHING UNUSUAL?
    You have a complete CLASS definition followed by a method definition.
    Methods have to be INSIDE the class - you can NOT define methods on their own.
    Write modular code.
    Write EMPTY methods - just the method signature and maybe a RETURN NULL if you need to return something.
    Then add calls to those empty methods.
    When everything compiles and runs find you can start adding code to the methods ONE METHOD AT A TIME.
    Test compile and run after you add the code for each method.

  • Concatenate hex and text into text in old versions

    Hello!
    The code
    DATA: v_hex1 TYPE x VALUE '0A',
          v_text1 TYPE char100,
          v_text2 TYPE char100.
    CONCATENATE v_hex1 v_text1 INTO v_text2.
    works fine on my 4.7 WAS 620 system. However, I've got complaints from other SDNers (I've posted a weblog with code) that they get systax error <i>V_HEX1 must be a character-type data object (data type C, N, D, T or String), field string).</i>
    Is there an alternative, version-independant way, to concatenate hex and text into text?
    My problem is that I don't have older SAP version available, so I can't test.
    Thanks!
    Igor

    Hi Igor,
    I have executed this very code on a 4.6C system and on a 4.0B system. I did not get any error. But if I change the type of v_hex to an integer, then I get the error which says the data type of v_hex should be C,N,D,T or string.
    I wonder why I do not get the error even when v_hex is of type x.
    Anyways, if the error does come, then may be we can use something like this -
    DATA: v_hex1 TYPE x VALUE '0A',
          v_text1 TYPE char100,
          v_text2 TYPE char100.
    write v_hex to v_text2.
    CONCATENATE v_text2 v_text1 INTO v_text2.
    This will not give you any error as such, but 0A is interpreted as a character string :-(.
    =======================================
    More surprisingly, if I execute your code on a 4.7 with WAS 640, I get the error you are talking about.
    With some confusion,
    Anand Mandalika.

  • Conversion of XST file to XML file and vice a versa

    Hello All,
    I am working on one of the SAP-DMS issue.
    Here my requirement is converting the XML file to XST file and vice a versa.
    I tried to find out the possible solutioin but not succeed yet...
    Please can anyone help with the solution?
    Regards,
    Reshma

    Why don't try with Message Tran Bean
    Check this below details out:
    Processing Sequence:
    1 localejbs/Seeburger/solution/sftp Local Enterprise Bean solutionid
    2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean mtb
    3 localejbs/CallSapAdapter Local Enterprise Bean exit
    Module Configuration:
    mtb Transform.Class com.sap.aii.messaging.adapter.Conversion
    mtb Transform.ContentType text/xml;charset=utf-8
    mtb xml.conversionType SimplePlain2XML
    mtb xml.documentName XXX_EXPENSES_mt
    mtb xml.fieldContentFormatting trim
    mtb xml.fieldNames FIELD1,FIELD2,FIELD3,FIELD4
    mtb xml.fieldSeparator '0x09'
    mtb xml.processFieldNames fromConfiguration
    mtb xml.structureTitle RECORD
    Regards
    Pothana

  • IEEE 754 standards for representing floating point numbers

    HI All..
    Most of us are not awared how the actually Floating point numbers are represented . IEEE have set standards as how should we represent floating point numbers.
    I am giving u the link with which u can know how actually these are represented.
    http://en.wikipedia.org/wiki/IEEE_754
    If u have any doubts u can always reach me.
    Bye
    Happy learning
    [email protected]

    A noble but misguided attempt at dispelling the recurring problems the programmers have over and over again. There have been repeated posts to links about the IEEE standard, to little or no avail. The newbies who run into the problems will continue to do so, without regard to yet another post about it here.

Maybe you are looking for