I am having a super hard time with this app I am making. The app consists of numbers but it look likes Javafx Text() and Label() only supports strings.
My Problem
int amount =23;
Text text = new Text(amount);//ERROR cant not convert in to string.
Text text2 = new Text(amount.toString();//ERROR int cannot be dereferenced
My Question:
How do I print the number 23 as an actual number not as string; Remember the number needs to be printed as a number int javafx not in the console;
Why
Because latter in the app I will be getting a number from the user and Ineed to add it to: int amount = 23; and I cant add to string together. lol.