Skip to content

Commit e55a738

Browse files
author
SimonePDA
authored
Update greaterThan.adoc
Comparison good practices
1 parent 7df3b58 commit e55a738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Language/Structure/Comparison Operators/greaterThan.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ subCategories: [ "Comparison Operators" ]
1818

1919
[float]
2020
=== Description
21-
Compares the variable on the left with the value or variable on the right of the operator. Returns true when the operand on the left is greater (bigger) than the operand on the right.
21+
Compares the variable on the left with the value or variable on the right of the operator. Returns true when the operand on the left is greater (bigger) than the operand on the right. Please note that you may compare variables of different data types, but that could generate unpredictable results, it is therefore recommended to compare variables of the same data type including the signed/unsigned type.
2222
[%hardbreaks]
2323

2424

0 commit comments

Comments
 (0)