How to bind Double parameter with Play 2.0 routing
问题 I'm learning myself Play 2.0 (Java API used) and would like to have a double/float parameter (for location coordinates), something like http://myfooapp.com/events/find?latitude=25.123456&longitude=60.251253. I can do this by getting the parameters as String and parsing them at controller etc but can I use automatic binding here? Now, I first tried simply having one double value: GET /events/foo controllers.Application.foo(doublevalue: Double) with public static Result foo(Double doublevalue)