Skip to content

Base conversion

Provides conversion expressions for numbers in different bases.

Authors and contributors to this community extension: Ahnaf30e.


Adds expressions to convert numbers to a different base and back. Can be used to convert hexadecimal / binary representations of numbers to decimal numbers and vice-versa.

Tip

Learn how to install new extensions by following a step-by-step guide.

Expressions

Expression Description
BaseConversion::ToBase() Converts a number to a trsing representing it in another base.
BaseConversion::ToDecimal() Converts a string representing a number in a different base to a decimal number.

This page is an auto-generated reference page about the Base conversion extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.