Separate factor from digits