Lua
C++
Edit

Max

This function returns the maximum of two specified values.

Syntax

Returns

Returns the highest 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(Max(a,b));

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