%dw 2.0
import fromHex from dw::core::Numbers
output application/json
---
{
a: fromHex("-1"),
b: fromHex("3e3aeb4ae1383562f4b82261d969f7ac94ca4000000000000000"),
c: fromHex(0),
d: fromHex(null),
e: fromHex("f"),
}
fromHex
fromHex(String): Number
Transforms a hexadecimal number into decimal number.
Introduced in DataWeave 2.2.0. Supported by Mule 4.2 and later.
Submit your feedback!
Share your thoughts to help us build the best documentation experience for you!
Take our latest
survey!