Skip to content

Commit fca9a7a

Browse files
authored
Merge pull request #13 from eramalingam/master
Changes in the description of various Unary Operators on UnitValue object.
2 parents 1bbf270 + b0dc07a commit fca9a7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/extendscript-tools-features/specifying-measurement-values.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ UnitValue objects can be used in computational JavaScript expressions. The way t
211211

212212
| Operator | Behaviour |
213213
| ------------ | ----------------------------------------------------------------------- |
214-
| `~unitValue` | The numeric value is converted to a 32-bit integer with inverted bits. |
214+
| `~unitValue` | Result is a new UnitValue with the same type, but value converted to a 32-bit integer and inverted bitwise. |
215215
| `!unitValue` | Result is `true` if the numeric value is nonzero, `false` if it is not. |
216-
| `+unitValue` | Result is the numeric value. |
217-
| `-unitValue` | Result is the negated numeric value. |
216+
| `+unitValue` | Result is a new UnitValue with the same type and value as the original. |
217+
| `-unitValue` | Result is a new UnitValue with the same type and negated value from the original |
218218

219219
### Binary operators `(+, -, *, /, %)`
220220

0 commit comments

Comments
 (0)