Skip to content

Home > resol-vbus-core > PacketField > formatTextValue

PacketField.formatTextValue() method

Format the value to its textual representation.

Signature:

typescript
formatTextValue(unit?: boolean | VsfUnit): string | null;

Parameters

Parameter

Type

Description

unit

boolean | VsfUnit

(Optional) The optional unit to append.

**Returns:**

string | null

The textual representation.