get fractional part of a number