Returns the longitude of the last position of the user.

1 system.user.getGPSLongitude

<system.user.getGPSLongitude code='code'/>
Example

Obtain the last longitude in which was the user by default.

Copy
<xsql-script name='system_user_getLongitude_sample1'>
    <body>
        <println>
            <system.user.getGPSLongitude />
        </println>
    </body>
</xsql-script>

If you do not pass a user code via the attribute code, the system returns the value related with the user which executes the command.

Example

Obtain the longitude of a specific user.

Copy
<xsql-script name='system_user_getLongitude_sample2'>
    <body>
        <println>
            <system.user.getGPSLongitude code='bpr'/>
        </println>
    </body>
</xsql-script>

Informing the attribute code, the system returns the value related with the specified user code.