fix
GetFractionFromDecimal algorithm