Binary Coded Decimals (BCD) in Java
Switch branches/tags
Clone or download
c-rack Merge pull request #29 from c-rack/dependabot/maven/org.apache.maven.…

Bump maven-shade-plugin from 3.2.0 to 3.2.1
Latest commit 4221a21 Nov 12, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Problem: copyright year is outdated Sep 23, 2018
.gitignore Cleanup POM and add Coveralls Nov 17, 2014
.travis.yml Problem: does not run on travis container Nov 9, 2015
LICENSE.txt Initial import. Nov 13, 2010 Problem: copyright year is outdated Sep 23, 2018
design.png Add graphic Nov 17, 2014
pom.xml Bump maven-shade-plugin from 3.2.0 to 3.2.1 Nov 12, 2018


Binary coded decimals (BCD) in Java. Both binary coded decimals and packed binary coded decimals are supported.

Build Status Coverage Status


Frustra fit per plura quod potest fieri per pauciora — William of Ockham

This library provides only two public classes: BCD and PackedBCD. Internally, these two public classes are based on seven private classes, as shown here:



Copyright 2010-2018 Constantin Rack

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.