Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue
Status
Tech review

Status
colourYellow
titleReady for review

Style guide

Status
colourYellow
titleReady for review

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged

Page properties
hiddentrue
Short descriptionReturns dividend - (divisor * floor(dividend / divisor)).Output

Status
subtletrue
titlenumber

UI Text Box
sizemedium
typeinfo
This function returns dividend - (divisor * floor(dividend / divisor)).

The following functions are used:

floor()returns the remainder after division of the dividend by the divisor.


Code Block
languagebash
titleSyntax
linenumberstrue
modulus(dividend, divisor) #Output: Number


UI Text Box
typenote
The number divisor cannot be equal to 0.


UI Expand
titleExamples


4 - (2* floor(4/2)) = 4 - (2*2) =
Parser expressionDescription


Code Block
languagebash
linenumberstrue
modulus(4,2)


This example returns:

0.0

expand





Code Block
titleinfo on calculations...
UI Text Box
typeinfo
languagebash
linenumberstrue
modulus(3,2)


This example returns:

1.0




UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
dividend

Status
subtletrue
titlenumber

Any given number or numeric field code.
divisor

Status
subtletrue
titlenumber

Any given number other other than 0 or numeric field code.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_modulus" and space = currentSpace()


Page properties
hiddentrue
id1


Parser function cloudmodulus(numbers)
Map(tick)
Notes




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledoneJR

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short descriptionReturns the remainder after division of the dividend by the divisor.
Output

Status
subtletrue
titlenumber

Label