---
title: "InputElement.GetNumberValue"
url: "https://reference.aspose.com/html/net/aspose.html.forms/inputelement/getnumbervalue/"
product: "Aspose.HTML for .NET API Reference"
description: "InputElement GetNumberValue method. This method is used to get the value as a number. This method is valid if only only type of the input element is number"
---

## InputElement.GetNumberValue method

This method is used to get the value as a number. This method is valid if only only type of the input element is "number"

```csharp
public float GetNumberValue()
```

### Return Value

The number object.

### See Also

* class [InputElement](../)
* namespace [Aspose.Html.Forms](../../../aspose.html.forms/)
* assembly [Aspose.HTML](../../../)
