Idiom question!

<p>is the correct idiom "capability of" or "capability to"? Or are both correct?
Thanks!</p>

<p>Both are right.</p>

<p>he has the capability of running 30 miles per hour.</p>

<p>The computer has the capability to do something.</p>

<p>not the greatest examples, but I’m sure both forms are correct</p>

<p>actually I have always seen that capability takes of + gerund but ability takes to + inf … capability takes the same idioms as capable</p>

<p>I really hate to do this, because I really like answering these questions, but this question is too “googley” to waste this perfectly good ■■■■■ gag:</p>

<p>[Let</a> me google that for you](<a href=“http://■■■■■■/LKTXbk]Let”>LMGTFY - Let Me Google That For You)</p>

<p>Note: That is NOT spam. It is a link to google. ((A metalink to google being a smartA*&^))</p>

<p>Craig</p>

<p>^Lol the first result is this thread!
IMO, it’s
“capable of”…doing something
“capability to”… do something
Maybe you are getting confused with the noun and adjective form.</p>