Implemented fraction creation close to a given decimal.

Change-Id: I0ba9261b840ed9e9c651f84d2defe3c1659ce9db
Signed-off-by: Henning Schulz <henning.schulz@sap.com>
Format fix.

Change-Id: I09f9a48057ba739c15b84aa0193e255f9cf092fa
Signed-off-by: Henning Schulz <henning.schulz@sap.com>
Merge pull request #47 from Henning-Schulz/master

Implemented fraction creation close to a given decimal.