Skip to main content

Class: TransponderCodeFormat

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:778

Format for number and a fixed precision

Implements

Constructors

Constructor

new TransponderCodeFormat(): TransponderCodeFormat

Returns

TransponderCodeFormat

Properties

nullValueString

readonly nullValueString: "----" = '----'

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:780

The string to show when a value is null

Implementation of

Formatter.nullValueString

Methods

format()

format(value): string

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:792

Parameters

ParameterType
valuenumber

Returns

string

Inherit Doc

Implementation of

Formatter.format


parse()

parse(input): null | number

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:783

Parameters

ParameterType
inputstring

Returns

null | number

Inherit Doc

Implementation of

Validator.parse