Type alias Subtract<Left, Right>

Subtract<Left, Right>: [ParseSignFloatNumber<Left>, ParseSignFloatNumber<Right>] extends [infer X extends SignFloatNumber, infer Y extends SignFloatNumber]
    ? StringifySignFloat<SubSignFloatNumber<X, Y>>
    : never

Subtract two numbers

Type Parameters

  • Left extends NumberLike

    Left operand

  • Right extends NumberLike

    Right operand

    type Example = Subtract<"123", "456">
    

Generated using TypeDoc