Older Version Newer Version

Alyce Alyce Jan 10, 2006

In the Liberty BASIC Helpfile, look in the category "Language Syntax and Usage" and find the sub-category called "Mathematics." The topics covered include:

* Mathematics
* Numeric Variables
* Mathematical Operations
* Trigonometry
* Numbers and Strings
* Date and Time Functions

**Mathematics** tells you how to manipulate numbers and numeric expressions using arithmetic, including addition, subtraction, division, multiplication, absolute value and scientific notation. It also includes links to these individual math functions:

* SIN
* COS
* TAN
* ASN
* ACS
* ATN
* ABS
* EXP
* LOG
* HEXDEC
* DECHEX$
* INT
* MAX
* MIN
* MOD
* RND
* SQR
* VAL
* STR$
* USING

**Numeric Variables** discusses numeric variable use, negative numbers as variables, and global variables.

**Mathematical Operations** gives an overview of math operations, including ABS(), SQR(), EXP(), LOG(), INT(), MAX(), MIN(), MOD, RND() and RANDOMIZE
**Trigonometry** shows you which trig functions are supported in Liberty BASIC and how to use them. It also discusses the conversion between degrees and radians.
**Numbers and Strings** explains the ways numbers can be converted to string and vice versa, as well as formatting numbers with the USING() function.
**Date and Time Functions** lists the various functions that return the system time, the date, and it explains how to do math on dates.