translate coordinates if between 0.0 - 1.0

this assumes coordinates are percentages