knxfloat
v1.0.1
Published
Offers functions for conversion between standard Javascript numbers and their corresponding representation as KNX conform 16 bit floating point numbers.
Downloads
9
Readme
KNX float
This Typescript / Javascript library converts numbers from builtin number datatype into / from KNX conform two byte floating point representation.
Getting started
This library is provided as a npm package, so you can simply install it by executing
npm install knxfloat
or include it as a dependency in your package.json.
Prerequisites
This library does not have an runtime dependencies, however in order to run tests or transpile it from Typescript to Javascript, you have to install the development dependencies using
npm install
in the root folder of this repository.
Running the tests
Builtin automated tests can be run by executing
npm run test
Live demo
You can try out this library by using the online KNX float converter
Author
- Tobias Wegner - www.tobiaswegner.de
License
This software is licensed under the MIT license