TextRanch

The best way to perfect your writing.

Discover why 1,062,726 users count on TextRanch to get their English corrected!

1. Input your text below.
2. Get it corrected in a few minutes by our editors.
3. Improve your English!

One of our experts will correct your English.

Our experts

return value vs returning value

Both "return value" and "returning value" are correct, but they are used in different contexts. "Return value" refers to the value that a function sends back to the calling code, while "returning value" would be used in a sentence describing the action of returning a value.

Last updated: March 15, 2024

return value

This phrase is correct and commonly used in programming to refer to the value that a function sends back to the calling code.

This phrase is used in programming to describe the value that a function returns to the part of the code that called it.

Examples:

  • The return value of the function is an integer.
  • Make sure to check the return value of the function before proceeding.

Alternatives:

  • output value
  • result
  • response value
  • function value
  • response

returning value

This phrase is correct and would be used in a sentence describing the action of returning a value.

This phrase would be used in a sentence to describe the action of returning a value to a specific location or person.

Examples:

  • She is returning value to the customer.
  • The function is returning value to the main program.

Alternatives:

  • giving value back
  • handing back value
  • sending value back
  • passing value back
  • restoring value

Related Comparisons

What Our Customers Are Saying

Our customers love us! We have an average rating of 4.79 stars based on 283,125 votes.
Also check out our 2,100+ reviews on TrustPilot (4.9TextRanch on TrustPilot).

Why choose TextRanch?

Lowest prices
Up to 50% lower than other online editing sites.

Fastest Times
Our team of editors is working for you 24/7.

Qualified Editors
Native English experts for UK or US English.

Top Customer Service
We are here to help. Satisfaction guaranteed!