Appearance
Home > resol-vbus-core > utils > Formatter > dec
utils.Formatter.dec() method
Formats a number into its decimal representation.
Signature:
typescript
dec(val: number, len: number): string;
Parameters
Parameter | Type | Description |
---|---|---|
val | number | The value. |
len | number | The length of the output string in characters. |
string
The decimal string representation.