Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robertsLando/node-red-contrib-float
Node Red node to convert binary and decimal numbers in floating point
https://github.com/robertsLando/node-red-contrib-float
conversion-utility floating-point node-red nodejs
Last synced: 19 days ago
JSON representation
Node Red node to convert binary and decimal numbers in floating point
- Host: GitHub
- URL: https://github.com/robertsLando/node-red-contrib-float
- Owner: robertsLando
- Created: 2017-06-27T07:13:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-23T07:48:09.000Z (about 5 years ago)
- Last Synced: 2024-10-20T08:12:48.654Z (24 days ago)
- Topics: conversion-utility, floating-point, node-red, nodejs
- Language: HTML
- Size: 6.84 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-red-contrib-float
Node Red node to convert binary and decimal numbers in IEEE-754 floating point numbers
# Install
Run the following command in the root directory of your Node-RED install
npm install node-red-contrib-float
# Usage
Input **msg.payload** can be a Number or a binary String (just '0' and '1' chars) or an Array of this two objects.
Output **msg.payload** will be a Float or an Array of Float.It's possible to set the max number of decimal digit of the output float Number with the node 'Decimal Digits' property.
If left blank the number will not be truncated.