Web API - pass double parameters to GET method
<p>I have the following method:</p>

<pre><code>[Route("GetEditorialRequestsByCoordinates/{lat:min(-90):max(90)}/{lng:min(-180):max(180)}")]
[AutomapperExceptionApiFilterAttribute]
public HttpResponseMessage GetEditorialRequestsByCoordinates(double lat, double lng)
{

}
</code></pre>

<p>It works fine when I call...</p>

<pre><code>GET /v1/api/request/GetEditorialRequestsByCoordinates/48/2
</code></pre>

<p>But I want to pass double value like this:</p>

<pre><code>GET /v1/api/request/GetEditorialRequestsByCoordinates/48.999/2.777
</code></pre>

<p>I got an error (404 not found). Seems, it can't find appropriate method by route. 
I have tried to set route by way:</p>

<pre><code>[Route("GetEditorialRequestsByCoordinates/{lat:double:min(-90):max(90)}/{lng:double:min(-180):max(180)}")]
</code></pre>

<p>...but it does not work either.</p>

<p>How can I fix it?</p>