---
title: "floatround | open.mp"
description: "I-round ang isang floating point number sa isang integer value."
canonical: https://omp.itsneufox.com/fil/docs/scripting/functions/floatround
language: fil
---

# floatround

## Description

I-round ang isang floating point number sa isang integer value.

| Name | Description |
| --- | --- |
| value | Ang value na i-round |
| [mode](https://omp.itsneufox.com/fil/docs/scripting/resources/floatroundmodes) | Ang mga floatround mode na gagamitin. |

## Returns

Ang bilugan na halaga bilang isang integer.

## Examples

```c
floatround(3.3, floatround_ceil);
```

## Related Functions

-   [float](https://omp.itsneufox.com/fil/docs/scripting/functions/float): I-convert ang isang integer sa isang float.
-   [floatstr](https://omp.itsneufox.com/fil/docs/scripting/functions/floatstr): I-convert ang isang string sa isang float.
