Skip to content

Document how to include calculations (math) in various contexts, like Jinja2, mako, and in the interview in a code block #568

@nonprofittechy

Description

@nonprofittechy

Could cover:

  • How to do math in Python - basics like addition, subtraction, division
  • Working with undefined variables with showifdef() and adding a default value
  • Using sum_if_defined() specifically
  • Alternatives like using a module
  • Keeping code variables "fresh" when values change (depends on)
  • Explain how to trigger a code block before the download screen so it is defined (and alternatives like adding a need modifier to the attachment block

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions