round
- Article
-
-
Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even.
Parameters
Item |
Description |
x
|
[in] The specified value.
|
Return Value
The x parameter, rounded to the nearest integer within a floating-point type.
Type Description
Minimum Shader Model
This function is supported in the following shader models.
Requirements
Requirement |
Value |
Header
|
- Corecrt_math.h
|
See also
-
Intrinsic Functions (DirectX HLSL)