Floating-point values are encoded using one of the XML floating-point types. The mappings between the OPC UA floating-point types and XML schema data types are shown in Table 35.
Table 35 – XML Data Type Mappings for Floating-Point
|
Name |
XML Type |
|
Float |
xs:float |
|
Double |
xs:double |
The XML floating-point type supports positive infinity (INF), negative infinity (-INF) and not-a-number (NaN).