Method Round
Round(Single)
Rounds the float to the nearest integer.
Declaration
public static float Round(float f)
Parameters
Type | Name | Description |
---|---|---|
System.Single | f |
Returns
Type | Description |
---|---|
System.Single | the float rounded to the nearest integer. |