qspec.get_decimals ( x )[source] Parameters: xfloat A float value. Returns: outint The number of displayed decimals of the float value 'x'.