How to change variable type in mblock?


#1

Well, if I define a variable in mblock(scratch), it is always been convert to double type in arduino code.
How do I change this behavior? You know we couldn’t always use double variable everywhere as there may be chars, ints, strs…etc


#2

Yes, mBlocksoftware only support double variable.
As for your requirement, we will add into customer feedback list for future assessment, thanks!


#3

Having these other variables would be fantastic


#4