binary-helper 0.2.1

A simple binary conversion crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Binary Helper
This crate serves 2 purposes:

1: converting a binary number to a base 10 number

2: converting a base 10 number to a binary number


## Example
```rust
fn is_10_binary_check(x) -> String {
    let result = dec2binary(x,3);
    if result == "0001010"{
        "X is 10 (0001010 in binary)!".to_string()
    }
}
```