Source:protocolDecimals¶ since 1.5.10 Get / Set sensor internal decimals. local decimals = source:protocolDecimals([decimals]) Parameters¶ Name Type Required Description decimals integer optional Returns¶ decimals (integer)