Lua
C++
Edit

Min

This function returns the minimum of two specified values.

Syntax

Returns

Returns the lowest of the two specified values.

Example

#include "Leadwerks.h"

using namespace Leadwerks;

int main(int argc, const char* argv[])
{
    float a = 5;
    float b = 3;

    Print(Min(a,b));

    return 0;
}
Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation