Search found 2 matches
- Fri Sep 11, 2015 6:45 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: conversion to single-precision float
- Replies: 3
- Views: 3408
Re: conversion to single-precision float
It turns out that this is a three step process 1. change the byte order 2. encode 3 decode here is a command structure. You pass it the Hex number and get back the decimal number according to the IEE standard. I did similar one for going the decimal to hex way command HexToDecBigToLittle tInputHex G...
- Sat Sep 05, 2015 8:39 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: conversion to single-precision float
- Replies: 3
- Views: 3408
conversion to single-precision float
I am trying to convert a HEX string into a REAL number. The string will ultimately come from plc in the form of an CANbus message but for now I just want to do the simple conversion to verify that I am getting the correct number in the output. If I use an online conversion tool that conforms to IEE-...