postel-ita
Version:
Library to create files compatible with italian Poste Postel system
16 lines • 386 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class Currency extends Number {
constructor(value) {
super(value);
this._value = value;
}
toPostelString() {
return this.toFixed(2).replace('.', ',');
}
valueOf() {
return this._value;
}
}
exports.default = Currency;
//# sourceMappingURL=Currency.js.map