code: def test_parameter_float_implicit_value():
      param = ParameterFloat("MyFloat", 1.1)
  
      with pytest.raises(TypeError) as error:
          float(param)
  
      assert (
          str(error.value)
          == "Pipeline variables do not support __float__ operation."
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/workflow/test_parameters.py
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.workflow.parameters import ParameterBoolean, ParameterFloat, ParameterInteger, ParameterString
label_desc: Use image node_id 8 for calling a global function with example usage: test_parameter_float_implicit_value() without return types