title |
description |
ms.assetid |
keywords |
topic_type |
api_name |
api_location |
api_type |
ms.topic |
ms.date |
round (Corecrt\_math.h) |
Rounds the specified value to the nearest integer. |
258ce717-dca1-4ed2-ad98-1ecfdb58f939 |
|
|
|
|
|
reference |
05/31/2018 |
Rounds the specified value to the nearest integer. Halfway cases are rounded to the nearest even.
Item |
Description |
x
|
[in] The specified value.
|
The x parameter, rounded to the nearest integer within a floating-point type.
This function is supported in the following shader models.
Requirement |
Value |
Header
|
- Corecrt_math.h
|
-
Intrinsic Functions (DirectX HLSL)