Converting variables?

DISCLAIMER:
This is a discussion, pls do not put “I think that’s impossible” or something like that.

This is something cool…
Screen Shot 2024-05-30 at 1.57.15 PM

but if we don’t want the commas we can do this
Screen Shot 2024-05-30 at 2.00.57 PM

This helps us convert numbers to text.

My question is:
Can we convert text to numbers?

The premise of this is that the text IS MADE UP OF numbers, eg.
Screen Shot 2024-05-30 at 2.03.54 PM

we want to change that :point_up_2: to this :point_down:
Screen Shot 2024-05-30 at 2.05.01 PM

I’m confused. Wouldn’t it display the value of the variable in this case?

Yes, you can. Set the variable to the text. Then, multiply it by 1. That will output the numbers.

1 Like

It would, but in text form, not number form.

1 Like

Yes, just multiply the text by 1.

1 Like

Ohh, I get it now. So if I’m correct, the create text with block turns the number variable into a text one, like if you wanted to text the text of a text-related (say a text, popup, game overlay)

1 Like

thanks! I really needed to know this

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.