Version: - double  


Returns the total amount of loyalty points for the user.


The value is based on the Current total number in the Loyalty points transaction window.

(Users > user > Loyalty points)


Outputting the template tag


Check if tag has a value

@if(!double.IsNullOrWhiteSpace(GetDouble("UserManagement:User.PointBalance"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ double storedTag = GetDouble("UserManagement:User.PointBalance"); }

Outputting the template tag


Check if double has a value

<!--@If Defined(@UserManagement:User.PointBalance)--> Let's output this tag here: <strong><!--@UserManagement:User.PointBalance--></strong> <!--@EndIf(@UserManagement:User.PointBalance)-->