import { AbstractInfixNotation } from "./infix-abstract" ; import { toSubscript } from "../utils" ; export class InfixEngineeringNotation extends AbstractInfixNotation { public readonly name : string = "Infix engineering" ; protected formatMantissa ( digit ) { return digit . toString ( 10 ) ; } protected formatExponent ( exp ) { return toSubscript ( exp ) ; } }