dimensional
Version:
Dimensional analysis and unit conversions
14 lines (13 loc) • 421 B
TypeScript
/**
* Represents a unit prefix, which is effectively a unit modifier by a scaling factor.
*/
export declare class Prefix {
readonly LaTeX: string;
readonly scale: number;
/**
* Define a new prefix to be used for any unit.
* @param LaTeX The LaTeX code for this prefix
* @param scale The scale of this prefix, relative to the base unit
*/
constructor(LaTeX: string, scale: number);
}