Difference between revisions of "Manuals/calci/ISPERFECTNUMBER"

From ZCubes Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
#=ISPERFECTNUMBER (6) = true
 
#=ISPERFECTNUMBER (6) = true
 
#=ISPERFECTNUMBER (500) = false
 
#=ISPERFECTNUMBER (500) = false
 +
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Revision as of 05:21, 14 March 2017

Description

  • This function is one of the group in ISFUNCTIONS.
  • The IS FUNCTION is also known as data information functions, data inspection functions or data-testing functions.
  • ISPERFECTNUMBER function can be used to check the given value is a perfect number or not.
  • This function gives the result as only TRUE or FALSE.
  • The result is TRUE when the n value is a perfect number otherwise the result is FALSE.
  • The argument can be blank, or it can contain data such as text, numbers, error values, logical values or any equations.

Examples

  1. =ISPERFECTNUMBER (496) = true
  2. =ISPERFECTNUMBER (5) = false
  3. =ISPERFECTNUMBER (0) = false
  4. =ISPERFECTNUMBER (-6) = false
  5. =ISPERFECTNUMBER (6) = true
  6. =ISPERFECTNUMBER (500) = false