LongitudeFromIP

Description

Extracts the longitude from a given IPv4 string (dot-decimal notation).

Syntax

LatitudeFromIP(ipaddress)

Examples

LongitudeFromIP('69.59.196.211') returns -123.343

Notes

  • Negative longitude values are west of Greenwich, UK (0°).
  • LongitudeFromIP uses Maxmind for extracting the longitude.

Return value datatype

Float

Impact of null value

If input is null, returns null.

Feedback and Knowledge Base