Skip to main content Link Search Menu Expand Document (external link)

RoundingMode overview

This module defines the list of available rounding modes (see Intl.NumberFormat) that can be used by a CVRoundingOption (see RoundingOption.ts)


Table of contents


Destructors

getName

Returns the name of self

Signature

export declare const getName: MTypes.OneArgFunction<Type, string>

toCorrecter

Builds a Correcter implementing self

Signature

export declare const toCorrecter: MTypes.OneArgFunction<Type, Correcter>

Models

Correcter (interface)

Type of a Correcter

Signature

export interface Correcter
  extends MTypes.OneArgFunction<
    {
      readonly firstFollowingDigit: number
      readonly isEven: boolean
    },
    number
  > {}