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

### Returns 


Returns value


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

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



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