# HtmlCssNumericValue

A constant numeric result parsed from a literal or CSS math function.

Class 

`OfficeIMO.Html.Css`

**Namespace**

`OfficeIMO.Html.Css`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`56dd0d38e0b5` with working tree changes

**Source**

[HtmlCssPropertyContracts.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L65)

**Modifiers**

sealed

A constant numeric result parsed from a literal or CSS math function.

## Inheritance

- object
- HtmlCssNumericValue

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [HtmlCssPropertyValue.NumericValue](/api/html-core/officeimo-html-css-htmlcsspropertyvalue/#property-numericvalue)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public HtmlCssNumericType Type { get; }` [#](#property-type)

[HtmlCssPropertyContracts.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L65)

Numeric type of the result.

`public double Value { get; }` [#](#property-value)

[HtmlCssPropertyContracts.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L67)

Finite result; percentages retain their percentage scale.

`public bool IsCalculated { get; }` [#](#property-iscalculated)

[HtmlCssPropertyContracts.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L69)

Whether the value came from calc(), min(), max(), or clamp().

<!-- PowerForge markdown artifact sha256:AEBEC557D061D30058DAEF85120091E23644E71D721300D026532EC61B6FC2A7 -->
