You may want to use
well, if the user just text for example 28. without indicating something after coma, it will be shown as a decimal, while it’s not really isn’t it?
if there is a full stop then it is not a number.
Tested, try this
It should return true we there’s nothing after “.”
The guy that created the subject
He is OP:
Well, you didn’t know his name but posted the solution. O-Ok…
… I forgot already
Edit I thought it is another guy lololloolool
It was my mistake
There are multiple solutions and this is one of them:
That was what I think of first but eventually I realize that you can simply use text component.
However the number shd be 1 not 0
Well tested, and it works fine for me.
How??? I quite do not understand what was your mistake…
Don’t take this away from me
jk
if number%1 != 0: DECIMAL
else: INTEGER
% = modulo of in AI2
What are you talking about?
My brain is crazy lol
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.