Overpunch

A signed overpunch support library suitable for interacting with Decimal values.
Installing
Alternatively, you can edit your Cargo.toml directly and run cargo update:
[]
= "0.3.0"
Usage
To parse signed overpunch numbers:
use ;
use Decimal;
let number = convert_from_signed_format.unwrap;
assert_eq!;
let number = extract.unwrap;
assert_eq!;
To format values to signed overpunch:
use ;
use Decimal;
let formatted = convert_to_signed_format.unwrap;
assert_eq!;
let formatted = format.unwrap;
assert_eq!;