08-05-2022, 06:27 PM
Asking about the logic, it's alphabetical.
A before B before C...
1 before 2 before 3...
Compare character by character with -11.2 and -11.1
- vs - is SAME
1 vs 1 is SAME
1 vs 1 is SAME
decimal vs decimal is SAME
2 is GREATER than 1.
Result is -11.2 is greater than -11.1 *as strings*.
A before B before C...
1 before 2 before 3...
Compare character by character with -11.2 and -11.1
- vs - is SAME
1 vs 1 is SAME
1 vs 1 is SAME
decimal vs decimal is SAME
2 is GREATER than 1.
Result is -11.2 is greater than -11.1 *as strings*.