You have already met a number of Small Basic Objects – elements within your programming language that package up related methods, properties and other features to help you program. There are many other ‘objects’ available to you and this Topic is about introducing you to some that you will find both useful and interesting.
The Maths Class
The Maths class gives us access to mathematical functions that calculate or ‘return’ some very useful values for use to use in our programs. Full blown programming languages usually provide many hundreds of maths functions to perform the most complex calculations but Small Basic has tried to reduce this to a manageable list of really useful ones for you. Most take one or two numbers as ‘parameters‘ and return a result having performed the required calculation.