code: def askfloat(title, prompt, **kw):
      """get a float from the user
  
      Arguments:
  
          title -- the dialog title
          prompt -- the label text
          **kw -- see SimpleDialog class
  
      Return value is a float
      """
      d = _QueryFloat(title, prompt, **kw)
      return d.result
  
imports: from tkinter import *
  from tkinter import _get_temp_root, _destroy_temp_root
  from tkinter import messagebox
label_desc: Use image node_id 4 for calling a global function with example usage: askfloat(title, prompt) and returns: d