Int not kinda working?
So i have these two integers:
iint staccQuart= 214.2857143; int staccQuart= 60 / 140 / 2;
maybe they should be float, but it didnt make any difference here, anyway.
Only the upper one works, even though the lower one with the expression given the same number.
hmm.
9 Replies
I didn't get what you were trying to convey
And I don't know what you are trying to do.
🤨
Are you doing something unix?
nis
what language is that
i dont understand a work
so staccQuart= 60 / 140 / 2;
the 140 would be changed to another int
so i can change multiple ints to the songs bpm
You just made me remember these unix notations which I had learnt some years ago. Basically 6 yrs ago.
oh
so
so its 0.214.... not 214
what this does is takes the string and converts it into a calculable notation then calculates it
-e is for string
im good on that alien language for now i think
float stack
wonder why you put that
60 140 /
means 60 divided by 140, then 2 /
is total result divided by 2, then p
print the result, and finally q
is quitokay thanks
guys
One might ask why it isn't a constant