Convert number to text

Hi,
I’d like to know how to convert a number into text. To be able to change an email address using a variable. Example: 1@gmail.com. 2@gmail.com. 3@gmail.com. I would like to know how to convert numbers (1, 2, 3, …) into letters so that I can create my email addresses.
Thank you for your answer.

a number can usually be printed as a text anyway… so there’s usually no need to explicitly convert it to a text.

but if you need to, just format the number (that explicitly converts it to text).

Thank you for your reply, I can’t see how to convert my number into text. Apparently Bubble only allows ‘formated as…(see my screen)

and “email_counter” is a number from my user field of my database

As I said…

There’s usually no need to convert a number to text (a number can be printed as text anyway).

But if, for some reason, you need to explicitly convert a number to text you can use :format as to format the number (which explicitly converts it to a text - although there’s no need to do that anyway).

On a side note…

I have no idea what you’re trying to do here…

What are you trying to do?

1 Like

create multiple email: 1@gmail.com. 2@gmail.com. 3@gmail.com, where 1, 2, 3, … are in a user field

But (at least in your screenshot) you’re trying to log a User in…

1 Like

in the end, I try to create different email addresses for each user so that they do not have to encode their own during the trial period

This topic was automatically closed after 70 days. New replies are no longer allowed.