mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-11 02:12:00 +03:00
document PctOp usage
This commit is contained in:
parent
2762e4461c
commit
5554205193
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import * as vocab from "./vocab";
|
||||||
import { UNIT_DATA, SI_PREFIXES, DATA_SI_PREFIXES, IEC_PREFIXES, SCALE_DATA } from "./unitdata";
|
import { UNIT_DATA, SI_PREFIXES, DATA_SI_PREFIXES, IEC_PREFIXES, SCALE_DATA } from "./unitdata";
|
||||||
import { EXTRA_UNITS, CRYPTO } from "./extraunits";
|
import { EXTRA_UNITS, CRYPTO } from "./extraunits";
|
||||||
|
|
||||||
|
/** Operators for percentage calculations. */
|
||||||
export type PctOp =
|
export type PctOp =
|
||||||
| "of" | "off" | "on"
|
| "of" | "off" | "on"
|
||||||
| "as_pct_of" | "as_pct_off" | "as_pct_on"
|
| "as_pct_of" | "as_pct_off" | "as_pct_on"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue