---
title: "CSSNumericValue | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Variable CSSNumericValue

CSSNumericValue: {  
    prototype: [CSSNumericValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSNumericValue/);  
    parse(cssText: string): [CSSNumericValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSNumericValue/);  
    new (): [CSSNumericValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSNumericValue/);  
}

#### Type Declaration

-   -   new (): [CSSNumericValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSNumericValue/)
    -   #### Returns [CSSNumericValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSNumericValue/)
        
-   ##### prototype: [CSSNumericValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSNumericValue/)
    
-   ##### parse: function
    
    -   parse(cssText: string): [CSSNumericValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSNumericValue/)[](#parse-1)
        
        The **`parse()`** static method of the CSSNumericValue interface converts a value string into an object whose members are value and the units.
        
        [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/parse_static)
        
        #### Parameters
        
        -   cssText: string
        
        #### Returns [CSSNumericValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSNumericValue/)
