Crestron Components Lib - Showcase App

ch5-jointotext-numeric: type

type="float" attribute

Transforms the value into decimal

Temperature is: <ch5-jointotext-numeric value="255" decimalLength="1" length="3" type="float"></ch5-jointotext-numeric>°C

Temperature is: °C

type="percentage" attribute

Transforms the value into percentage

Garage door open: <ch5-jointotext-numeric value="3568" decimalLength="3" length="5" type="percentage"></ch5-jointotext-numeric>%

Garage door open: %

type="hex" attribute

Transforms the value into hex

0x<ch5-jointotext-numeric value="3826" type="hex"></ch5-jointotext-numeric>

0x

type="signed" attribute

Transforms the value into signed int

<ch5-jointotext-numeric value="3826" length="5" type="signed"></ch5-jointotext-numeric>

type="unsigned" attribute

Transforms the value into unsigned int

<ch5-jointotext-numeric value="3826" length="5" type="unsigned"></ch5-jointotext-numeric>

type="time" attribute

Transforms the value into time format value (hh:mm:ss).

If value < 3600, then the format of time is mm:ss.

<ch5-jointotext-numeric value="3826" type="time"></ch5-jointotext-numeric>
<br />
<ch5-jointotext-numeric value="3459" type="time"></ch5-jointotext-numeric>

type="raw" attribute

<ch5-jointotext-numeric value="3826" type="raw"></ch5-jointotext-numeric>