parameters: (x)
docstring: r"""Forces an scalar value into float format
  
      Parameters
      ----------
      x: scalar value to check
  
      Returns
      -------
      float
          Float representation of the provided value
docstring_summary: r"""Forces an scalar value into float format
docstring_tokens: r Forces an scalar value into float format
function: def force_float_scalar(x):
      r"""Forces an scalar value into float format
  
      Parameters
      ----------
      x: scalar value to check
  
      Returns
      -------
      float
          Float representation of the provided value
      """
      if not isinstance(x, float):
          return float(x)
      else:
          return x
function_tokens: def force_float_scalar ( x ) : if not isinstance ( x , float ) : return float ( x ) else : return x