modf to upt