class_docstr: A value range description.
code: def _coerce(n: Optional[float], low: bool) -> str:
      if n is None:
          return "-inf" if low else "inf"  # ∞
      if isinstance(n, int):
          return str(n)
      if n.is_integer():
          return str(int(n))
      return str(n)
  
imports: from dataclasses import dataclass
  from typing import ClassVar, Collection, Optional
  import numpy
  from docdata import get_docdata
  from scipy import stats
  from ..utils import ExtraReprMixin, camel_to_snake
label_desc: Use image node_id 4 for calling the ValueRange obj's underlying member method code with example usage: obj._coerce(n, low) and returns: str, unknown, str, str