Math Methods
From CompSciWiki
COMP 1010 Home > More About Computer Science
IntroductionMath methods are very interesting. You can use them to help you in many applications that deal with numbers (e.g. banking system, lottery, cashier application, etc.). This section is introduced to help you understand how built-in math methods (in API) can be used within your code. These methods are very simple to use so there is no need to panic. You only need to call the method using the following general statement:
|
---|
{{{Body}}}