Lua
C++
Edit

Round

This functions rounds a decimal number off to the nearest integer and returns the result.

Syntax

Returns

Returns the nearest integer value.

Example

#include "UltraEngine.h"

using namespace UltraEngine;

int main(int argc, const char* argv[])
{
    Print(Round(1.9f));
    return 0;
}
Copyright © 2024 Ultra Software.
All rights reserved.