Coordinates in decimal

From semantic-mediawiki.org

Hello. We have a wiki where we pass decimal coordinates to infobox, but they are saved as degree, minutes, seconds see. When we query them, they are returned as degree, minutes, seconds. How can we get them in decimal? I have tried "|?coordenadas#decimal", without luck.

12:56, 24 July 2015