simulariumio/data_objects/unit_data.py
def _clamp_precision(self, number: float):
        """
        clamp float precision to 4 significant figures
        """
        return float("%.4g" % number)

        clamp float precision to 4 significant figures
        
clamp float precision to 4 significant figures
clamp float precision to 4 significant figures
def _clamp_precision(self, number: float):
        return float("%.4g" % number)
def _clamp_precision ( self , number : float ) : return float ( "%.4g" % number )
clamp float precision to 4 significant figures
clamp float precision to 4 significant figures
"""
        clamp float precision to 4 significant figures
        """
self
number
float