getFracPart, getIntPart, not yet tested