I'm creating a style in geoserver and need to concatenate two different data type (one is string, the other is double) but it's not working. someone can help me? i'm using geoserver 2.16 version and here's the code i've made:
<se:Label>
<ogc:PropertyName>name</ogc:PropertyName>
(<ogc:PropertyName>number</ogc:PropertyName>)
</se:Label>
You can concatenate the two of them by using the funcion
<ogc:Function name="Concatenate">
For example, in your case, it would be: