how to convert float to int in csharp unity

Code Example - how to convert float to int in csharp unity

                
                        Mathf.RoundToInt(floatValue);