convert decimal commas to points and ensure sufficient hex digits