UNPKG

@sports-alliance/sports-lib

Version:

A Library to for importing / exporting and processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc

13 lines (12 loc) 507 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataAirPower = void 0; const data_number_1 = require("./data.number"); class DataAirPower extends data_number_1.DataNumber { getDisplayValue() { return Math.round(this.value); } } exports.DataAirPower = DataAirPower; DataAirPower.type = 'Air Power'; DataAirPower.unit = 'watt'; // See https://itknowledgeexchange.techtarget.com/writing-for-business/do-you-capitalize-units-of-measurement-named-for-people/