@dinero.js/calculator-number
Version:
Number calculator implementation for Dinero.js
11 lines (10 loc) • 314 B
TypeScript
import type { BinaryOperation } from '@dinero.js/core';
/**
* Returns an number to the power of an exponent.
*
* @param base - The base number.
* @param exponent - The exponent to raise the base to.
*
* @returns The base to the power of the exponent.
*/
export declare const power: BinaryOperation<number>;