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) 364 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataEnergy = void 0; const data_number_1 = require("./data.number"); class DataEnergy extends data_number_1.DataNumber { getDisplayValue() { return Math.round(this.value); } } exports.DataEnergy = DataEnergy; DataEnergy.type = 'Energy'; DataEnergy.unit = 'KCal';