2022-10-10 06:10 PM
Hi,
I have created an expression for the zone stamp to show the elevation, but it misses two things:
1. I try to add a + sign in front of the number to show it is upper than zero (and it is not showing on the stamp)
2. I try to add to show CM at the end of the number but it says syntax error.
How can i show these two on the zone stamp?
Thanks
Solved! Go to Solution.
2022-10-11 12:16 PM
If you start mess with IF, maybe you want to add a "-" sign as well.
IF ( {Property:Paramètres généraux/Altitude inférieure à Zéro du projet} > 0 cm; CONCAT ( "+"; STRCALCUNIT ( {Property:Paramètres généraux/Altitude inférieure à Zéro du projet} ); " cm" ); CONCAT ( "-";STRCALCUNIT ( {Property:Paramètres généraux/Altitude inférieure à Zéro du projet} ); " cm" ) )
2022-10-11 12:18 PM
Yes it is string, I tried in length and still the same error result. What should i choose?
2022-10-11 12:29 PM
it is not necessary the sign "-" is automatic
2022-10-11 12:38 PM
2022-10-11 12:47 PM
This is it. Thank you all.