title: How do you round a string in Python?
body: <p>I am new to Python and a student, my college has chosen the worst book on earth for our course.  I cannot find examples of any concepts, so I apologize in advance as I know these concepts are very basic.  I hope you can help me.</p>
  
  <p>I need to know how to use the round feature in a string.  I find examples but they do not show the string, just simple numbers.</p>
  
  <p>Here is what we are supposed to get as an output:
  Enter the gross income: 12345.67
  Enter the number of dependents: 1</p>
  
  <p>The income tax is $-130.87  &lt;---- this is what we are supposed to figure out</p>
  
  <p>Here is the coding we are given to alter:</p>
  
  <pre><code>TAX_RATE = 0.20
  STANDARD_DEDUCTION = 10000.0
  DEPENDENT_DEDUCTION = 3000.0
  
  # Request the inputs
  grossIncome = float(input("Enter the gross income: "))
  numDependents = int(input("Enter the number of dependents: "))   
  
  # Compute the income tax
  taxableIncome = grossIncome - STANDARD_DEDUCTION - \
                  DEPENDENT_DEDUCTION * numDependents
  incomeTax = taxableIncome * TAX_RATE 
  
  # Display the income tax
  
  print("The income tax is $" + str(incomeTax))
  </code></pre>
  
  <p>As I do not have an NUMBER to plug into the formula - I have to figure out how to use "incomeTax" - I have no idea how to do this.  THe book doesnt explain it.  Help?</p>