Calculating Energy Costs - mathjs with variables

So reading this post only gives u boolean variables?
And sending a txt message with a Better Logic variable don’t work for u?
One of the lines is: “Make an extra variable and make it a number variable. In my case i called it “KwHtarief”.”
Where do u see boolean variables?