Skip to content

Commit

Permalink
minor meta doc improvement (_int tags)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed May 13, 2020
1 parent 36d85fb commit e5a9fda
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1619,6 +1619,7 @@ else if (CoreUtilities.toLowerCase(element).contains(CoreUtilities.toLowerCase(c
// @group math
// @description
// Returns the element plus a number, using integer math.
// This is a special-case Java Long Integer logic tag, and generally you should use the variant without "_int" instead.
// -->
registerTag("add_int", (attribute, ele) -> {
if (!ele.isDouble()) {
Expand All @@ -1634,6 +1635,7 @@ else if (CoreUtilities.toLowerCase(element).contains(CoreUtilities.toLowerCase(c
// @group math
// @description
// Returns the element divided by a number.
// This is a special-case Java Long Integer logic tag, and generally you should use the variant without "_int" instead.
// -->
registerTag("div_int", (attribute, ele) -> {
if (!ele.isDouble()) {
Expand All @@ -1649,6 +1651,7 @@ else if (CoreUtilities.toLowerCase(element).contains(CoreUtilities.toLowerCase(c
// @group math
// @description
// Returns the element multiplied by a number.
// This is a special-case Java Long Integer logic tag, and generally you should use the variant without "_int" instead.
// -->
registerTag("mul_int", (attribute, ele) -> {
if (!ele.isDouble()) {
Expand All @@ -1664,6 +1667,7 @@ else if (CoreUtilities.toLowerCase(element).contains(CoreUtilities.toLowerCase(c
// @group math
// @description
// Returns the element minus a number.
// This is a special-case Java Long Integer logic tag, and generally you should use the variant without "_int" instead.
// -->
registerTag("sub_int", (attribute, ele) -> {
if (!ele.isDouble()) {
Expand Down

0 comments on commit e5a9fda

Please sign in to comment.