Skip to main content

Class: AltitudeInputFormat

Format for altitude input

Implements

  • Validator<number>
  • Formatter<number>

Constructors

constructor

new AltitudeInputFormat(): AltitudeInputFormat

Returns

AltitudeInputFormat

Properties

nullValueString

nullValueString: string = '□□□□□'

Implementation of

Formatter.nullValueString

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:852

Methods

format

format(value): string

Parameters

NameType
valuenumber

Returns

string

Inherit Doc

Implementation of

Formatter.format

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:855


parse

parse(input): null | number

Parameters

NameType
inputstring

Returns

null | number

Inherit Doc

Implementation of

Validator.parse

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:830