This function attempts to find the most reasonable integer representation for the given point. This will depend on the input type of the point:
PT_TYPE_INTEGER - the point value
PT_TYPE_REAL - the floor of the point value
PT_TYPE_STRING - atol() of the point value