// CylinderVolume - Returns the volume of a cylinder
// (* built using the Max/Nina pack-builder *)
import * as coda from "@codahq/packs-sdk";
export const pack = coda.newPack();
pack.addFormula({
name: "CylinderVolume",
description: "Returns the volume of a cylinder",
resultType: coda.ValueType.Number,
isAction: false,
parameters: [
coda.makeParameter({
name: "Diameter",
description: "The diameter of the cylinder",
type: coda.ParameterType.Number,
optional: false,
}),
coda.makeParameter({
name: "Height",
description: "The height of the cylinder",
type: coda.ParameterType.Number,
optional: false,
}),
],