Get max value.
import { decimals } from "@protofire/subgraph-devkit";import { BigDecimal } from "@graphprotocol/graph-ts";const a = BigDecimal.fromString("100.525678");const b = BigDecimal.fromString("100.525679");decimals.max(a, b); // => 100.525679
the max value.
the BigDecimal number.
Generated using TypeDoc
Get max value.
Example
Returns
the max value.