Point VOP Integer/Float to String Casting

   4457   2   1
User Avatar
Member
4 posts
Joined: March 2015
Offline
I have been searching for a casting mechanism in VEX Builder space's node network. I have written a vex snippet with an empty string:“myString” and the integer:"myInteger value as inputs:

myString = itoa(myInteger);

I then take the output of myString. It works, but is a bit ugly and takes extra time and nodes to set up. Is there a node that can do this for me without my own VEX snippet?
User Avatar
Member
5 posts
Joined: Sept. 2014
Offline
I have searched for a solution for exactly this for a while, so even though this post is super old I thought I would share my solution. You can simply take the print node for this, just plugin in the integer and for the format string use: %. At least this worked for me.
User Avatar
Member
120 posts
Joined: Jan. 2012
Offline
brilliant solution, thanks romen !
Michal Tas Maciejewski @ www.vfxtricks.com
  • Quick Links