Table of Contents

Method Equal

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

Equal(float, float)

Checks if two floating point numbers are equal.

public static bool Equal(float a, float b)

Parameters

a float

The first number.

b float

The second number.

Returns

bool

true if the two numbers are equal, false otherwise.