Skip to main content

Class: RwySlopeFormat

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

Validator and Formatter for temperatures

FIXME make this universal

Implements​

Constructors​

Constructor​

new RwySlopeFormat(): RwySlopeFormat

Returns​

RwySlopeFormat

Properties​

nullValueString​

nullValueString: string = '--.-%'

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

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:626

Parameters​

ParameterType
valuenumber

Returns​

string

Inherit Doc​

Implementation of​

Formatter.format


parse()​

parse(input): number | null

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

Parameters​

ParameterType
inputstring

Returns​

number | null

Inherit Doc​

Implementation of​

Validator.parse