I will be the first to admit that I am inexperienced at coding. I can usually work my through things by referencing documentation on the functions available and their syntax or else finding code examples. I have read the scripting guide for the mcThings and have now got an idea of some of the functions. Is there any way of digging into how those functions work in mcStudio as far as variables etc? I know Ctrl + Space can give you a bit of a hint but doesn't really answer your questions. At the moment I am trying to truncate the temperature reading to 1 decimal place and am struggling to with the few functions that are implemented. A float has a lot of decimal places and if I convert to a string they come with. The trim functions won't do the job because as far as I can tell they will trim from a character array not a character index position. I tried the string format option and couldn't get that to output what I expected. That gave me some odd answer. Anyhow I will solve this issue but would love to see some reference material in addition to the mcScript guide.
Have tried a few different format options each one resulting in a different behaviour to expected and each resulting in the same format being something like ######.##### instead of ##.#
It also looks like ceil and floor are not implemented functions in regards to working with floats. On this I could be wrong as it mentions them in the mcScript guide.