Skip to content

How to round up formulas in Button outputs #389

Answered by mProjectsCode
jdumois01 asked this question in Q&A
Discussion options

You must be logged in to vote

probably something like

label: Assimilate Calendar
style: primary
id: calendar
hidden: false
actions:
- type: updateMetadata
  bindTarget: date1
  evaluate: true
  value: Math.ceil(390 - getMetadata('date3') / 12)
- type: updateMetadata
  bindTarget: date2
  evaluate: true
  value: Math.ceil(1394 - (getMetadata('date3') * 351.78570709490884/364))

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jdumois01
Comment options

@mProjectsCode
Comment options

Answer selected by jdumois01
@jdumois01
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants