Lng
Version: - stringSummary
Returns the Geolocation longitude for the user.
Settings
The value is based on the GeoLocation Lng input field for a user.
(User Management > User > User tab > GeoLocation > GeoLocationLng)
Examples
Outputting the template tag
@GetString("Lng")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Lng"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Lng");
}
Outputting the template tag
<!--@Lng-->
Check if string has a value
<!--@If Defined(@Lng)-->
Let's output this tag here: <strong><!--@Lng--></strong>
<!--@EndIf(@Lng)-->