Pacioli

A statically typed unit-aware matrix language

View project on GitHub

Pacioli Value

The pacioli-value component displays any Pacioli value.

pacioli-value

The pacioli-value element adds a Pacioli value to a web page.

<pacioli-value definition="..."></pacioli-value>

How it is displayed depends on the value.

  • A scalar is displayed inline.
  • A (non-scalar) matrix is displayed as a table.
  • A tuple is displayed as an unordered list.
  • A list is displayed as an ordered list.
  • A string is displayed as is.
  • A boolean is displayed as “true” or “false”

Common Attributes

definition
Name of the value or function to display
width
Width of the pacioli component.
height
Height of the pacioli component.
margin
Margin used around charts. For example margin="10,10,10,10"
decimals
Number of decimals for numbers. Default is 2.
zero
String to display for zero values
raw
Ignore number of decimals and display numbers with relevant digits.
exponential
Display numbers in exopnential format.

Pacioli Value Attributes

ascii
Display tables in ascii format.
clipboard
Display tables in clipboard format.