Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next

...

Numeric literal example:

IPTOINT
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
iptoint('1.2.3.4' ) as:'myAddress'

iptoint('1.2.3.4' )

Output:

...

Returns the integer value 16909060.

Column reference example:

IPTOINT
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
iptoint(IpAddr) as: 'ip_as_int'

iptoint(IpAddr)

Output: Generates the new ip_as_int column containing the  Returns the value of the IpAddr column converted to an integer value. 

D s
snippetSyntax

IPTOINT
d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value:
iptoint(column_ipaddr)

iptoint(column_ipaddr)


ArgumentRequired?Data TypeDescription
column_ipaddrYstringColumn name or string literal identifying the IP address to convert to an integer value

...