class_docstr: A setting that allows only floating point input between two constrained values
      
class_docstr_tok: ["A","setting","that","allows","only","floating","point","input","between","two","constrained","values"]
docstr: Initialize an integer range
  text  - helpful text to be displayed to the user
  value - initial default value, a two-tuple as minimum and maximum
  minval - the minimum acceptable value of either
  maxval - the maximum acceptable value of either
docstr_tok: ["Initialize","an","integer","range","text","-","helpful","text","to","be","displayed","to","the","user","value","-","initial","default","value",",","a","two-tuple","as","minimum","and","maximum","minval","-","the","minimum","acceptable","value","of","either","maxval","-","the","maximum","acceptable","value","of","either"]
code: def __init__(self, text, value=(0, 1), *args, **kwargs):
      """Initialize an integer range
      text  - helpful text to be displayed to the user
      value - initial default value, a two-tuple as minimum and maximum
      minval - the minimum acceptable value of either
      maxval - the maximum acceptable value of either
      """
      smin, smax = [("%f" % v).rstrip("0") for v in value]
      text_value = ",".join(
          [x + "0" if x.endswith(".") else x for x in (smin, smax)]
      )
      super(FloatRange, self).__init__(
          text, text_value, *args, **kwargs
      )
  
imports: from ._range import Range
label_desc: Use image node_id 1 to create a new FloatRange object from inherited base classes: Range with example: obj = FloatRange(text, value)