Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-838

The serialisation of 555.555 as a float produces a value of 555.554993 on the wire.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Serialization
    • None
    • n/a

    Description

      Using the UnitTest_XSD_float test. If you change the code as follows:-

      Was
      [40]// Test non-nillable element
      [41] xsd_float result = ws->asNonNillableElement((xsd_float)35.353588);

      Now
      [40]// Test non-nillable element
      [41] xsd_float result = ws->asNonNillableElement((xsd_float)555.555);

      Then on the wire you get:-
      <nonNillableElement>555.554993</nonNillableElement>

      Attachments

        Activity

          People

            prestonf Fred Preston
            prestonf Fred Preston
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: