
## get_float_value {#int}

This method is used to get a float value in a specified unit. If this CSS value doesn't contain a float value or can't be converted into the specified unit, a DOMException is raised.


### Returns 


Returns value


```python
def get_float_value(self, unit_type):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| unit_type | int | Type of the unit. |



### See Also
* module [`aspose.svg.dom.css`](../../)
* class [`CSSPrimitiveValue`](/svg/python-net/aspose.svg.dom.css/cssprimitivevalue)
