UtilLE(Double, Double) Method |
Test if a is less than or equal to b (within 1e-6 tolerance)
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static bool LE(
double a,
double b
)
Parameters
- a Double
- First value
- b Double
- Second value
Return Value
BooleanLogical result of comparing
a and
b
RemarksUse for floating point comparisons (e.g. "1.0f/3" greater than "1.0/3" returns true, but logically it should be false)
See Also