Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the input field value as a number.
This property is read/write.
![]() ![]() |
Syntax
HRESULT put_valueAsNumber(
[in] float val
);
HRESULT get_valueAsNumber(
[out] float *ptr
);
Property values
Type: float
The value of the input element if a numeric value, or not-a-number (NaN) otherwise.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.7.4
.png)
.png)