This is a common beginners problem.
In programming languages there is a difference between, text and number, there is even a difference between numbers (floats, the one with the point in it, and whole without point), we call them calls them types (of a variable). The most commen mistake is not to convert between types.
The computer does not know which type you want unless you specify, for the computer the raw data 48656c6c6f the string 'Hello' and the number 310939249775 are the same. For it its all 0100 1000 0110 0101 0110 1100 0110 1100 0110 1111...* it is up to you to tell it which one to use, and you did not do that, you tried to print two floats (e.g. 1.326, 4.243 are floats which have numbers after the point and 1, 2, 3 are whole numbers) without telling it to convert to string. And this programming language is not going to stop you or warn you, its not designed to do that.
Switch to C and it will yell at you that you can not print floats and refused to run... it a feature called type-checking and has it's own drawbacks...
To convert between types in Lua use the following functions (see documentation):
tonumber()
tostring()
Thus...
print('Miata Garage Bay Distance = ' .. tostring(otherdevices[GarageDistance]))
print('Fireplace Light Watts = ' .. tostring(otherdevices[FireplaceWatts]))
Lua manual:
https://www.lua.org/manual/5.3/
* yeah i know little indian and big indian... pfff.... it is an example
