def coordinate(self, center: Optional[float] = None, radius: Union[float, int] = 0.001) -> Decimal:
        """
        Optionally center the coord and pick a point within radius.
        """
        if center is None:
            return Decimal(str(self.generator.random.randint(-180000000, 180000000) / 1000000)).quantize(
                Decimal(".000001"),
            )
        else:
            center = float(center)
            radius = float(radius)
            geo = self.generator.random.uniform(center - radius, center + radius)
            return Decimal(str(geo)).quantize(Decimal(".000001"))

        Optionally center the coord and pick a point within radius.
        
faker/providers/geo/__init__.py