[](https://crates.io/crates/fixed2float)
[](https://pypi.org/project/fixed2float/)
# fixed2float
Simple utility for fixed point to real number conversions, using [the Q notation](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/example.py) (Python) or the [examples folder](https://github.com/urbanij/fixed2float/tree/main/examples) (Rust).
### Similar projects
- javascripts' [fixed2float](https://www.npmjs.com/package/fixed2float)