**Inheritance:**
java.lang.Object, [com.aspose.imaging.xmp.types.XmpTypeBase](../../com.aspose.imaging.xmp.types/xmptypebase)
```
public final class XmpReal extends XmpTypeBase
```

Represents XMP Real.
## Constructors

| Constructor | Description |
| --- | --- |
| [XmpReal(float value)](#XmpReal-float-) | Initializes a new instance of the `XmpReal` class. |
| [XmpReal(String value)](#XmpReal-java.lang.String-) | Initializes a new instance of the `XmpReal` class. |
## Methods

| Method | Description |
| --- | --- |
| [getValue()](#getValue--) | Gets or sets float the value. |
| [setValue(float value)](#setValue-float-) | Gets or sets float the value. |
| [getXmpRepresentation()](#getXmpRepresentation--) | Gets the string contained value in XMP format. |
### XmpReal(float value) {#XmpReal-float-}
```
public XmpReal(float value)
```


Initializes a new instance of the `XmpReal` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | Float value. |

### XmpReal(String value) {#XmpReal-java.lang.String-}
```
public XmpReal(String value)
```


Initializes a new instance of the `XmpReal` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | The value. |

### getValue() {#getValue--}
```
public float getValue()
```


Gets or sets float the value.

Value: The float value.

**Returns:**
float
### setValue(float value) {#setValue-float-}
```
public void setValue(float value)
```


Gets or sets float the value.

Value: The float value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float |  |

### getXmpRepresentation() {#getXmpRepresentation--}
```
public String getXmpRepresentation()
```


Gets the string contained value in XMP format.

**Returns:**
java.lang.String - Returns the string contained value in XMP format.
