flipside
Products
For Protocols
For Analysts
For Explorers
About
Log in
Become a Partner
flipside
Negative Numbers - int256
Antonidas
Negative Numbers - int256
Updated 2024-12-03
Copy Reference
Fork
9
1
2
3
›
⌄
select
'positive'
as
hex_type
,
ethereum
.
public
.
udf_hex_to_int
(
'0x09'
)
as
value
union
select
'negative'
as
hex_type
,
ethereum
.
public
.
udf_hex_to_int
(
's2c'
,
'fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd'
)
as
value
Results
QueryRunArchived: QueryRun has been archived