Appearance
Home > resol-vbus-core > utils > Formatter > dec4
utils.Formatter.dec4() method
Formats a number into its decimal representation, padding it to a length of 4 digits.
Signature:
typescript
dec4(val: number): string;
Parameters
Parameter | Type | Description |
---|---|---|
val | number | The value. |
string
The decimal string representation.