[](https://crates.io/crates/fixed2float)
[](https://pypi.org/project/fixed2float/)
# fixed2float
Simple utility for fixed point to real number conversions, using the VisSim (Fx*m.b*) and Q (Q*m.n*) [notations](https://en.wikipedia.org/wiki/Fixed-point_arithmetic#Notations).
### Usage
- as a dependency of your Rust library
```sh
cargo add fixed2float
```
which will automatically fetch the most recent version from the registry and update one line on Cargo.toml.
- as a dependency of your Python library
```sh
pip install fixed2float
```
### Examples
See [example.py](https://github.com/urbanij/fixed2float/blob/main/py-fixed2float/examples/example.py) (Python) or the [examples folder](https://github.com/urbanij/fixed2float/tree/main/examples) (Rust) or this online notebook:
[](https://mybinder.org/v2/gh/urbanij/fixed2float/HEAD?labpath=py-fixed2float%2Fexamples%2Fnotebook.ipynb)
### Similar projects
- ameetgohil's [fixed2float](https://www.npmjs.com/package/fixed2float) in javascript