Contact Free trial Login

Numbers (dw::core::Numbers)

This module contains helper functions to work with Numbers.

To use this module, you must import it to your DataWeave code, for example, by adding the line import * from dw::core::Numbers to the header of your DataWeave script.

Introduced in DataWeave 2.2.0. Supported by Mule 4.2 and later.


Name Description


Transforms from a binary number into a decimal number.


Transforms a hexadecimal number into decimal number.


Transforms a number in the specified radix into decimal number


Transforms a decimal number into a binary number.


Transforms a decimal number into a hexadecimal number.


Transforms a decimal number into a number string in other radix.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.