+20 votes

Personally, I'm having trouble converting an integer into a string.

EDIT: I found out that you can use the str() function to convert an integer into a string, but the question still stands for other types.

in Engine by (47 points)
edited by

1 Answer

+36 votes
Best answer

it's just like str ,

by (580 points)
selected by

Does this still work in Godot 3.1? I noticed https://github.com/godotengine/godot/issues/24001

Thanks :)

(even though you weren't answering it for me)


something as int
something as float
something as bool
something as RigidBody2D
something as RayCast2D

Missing String(...)

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.