Difference between revisions of "Manuals/calci/HALFOF"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "HALF")
 
Line 1: Line 1:
HALF
+
<div style="font-size:30px">'''HALFOF(Number)'''</div><br/>
 +
*<math>Number</math> is any real number.
 +
 
 +
==Description==
 +
*This function returns the half of the given number.
 +
*In <math>HALFOF(Number)</math>,<math>Number</math> is any real number.
 +
*It returns the half of the numbers.
 +
*To divide a number in Half means to divide it into two equal parts.
 +
*So to find a half a number, to divide the given number of 2.
 +
*For example HALFOF(11)=11/2 = 5.5.
 +
 
 +
==Examples==
 +
#HALFOF(8) = 4
 +
#HALFOF(567) = 283.5
 +
#HALFOF(-97.25) = -48.625
 +
#HALFOF(7/8) = 0.4375
 +
 
 +
==See Also==
 +
*[[Manuals/calci/DIVIDE| DIVIDE]]
 +
*[[Manuals/calci/DIVISION| DIVISION]]
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
*[[ Z3 |  Z3 home ]]
 +
 
 +
==References==
 +
*[http://www.themathpage.com/arith/parts-of-numbers_2-2.htm Part of Numbers]
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
*[[ Z3 |  Z3 home ]]

Revision as of 13:26, 27 March 2017

HALFOF(Number)


  • is any real number.

Description

  • This function returns the half of the given number.
  • In , is any real number.
  • It returns the half of the numbers.
  • To divide a number in Half means to divide it into two equal parts.
  • So to find a half a number, to divide the given number of 2.
  • For example HALFOF(11)=11/2 = 5.5.

Examples

  1. HALFOF(8) = 4
  2. HALFOF(567) = 283.5
  3. HALFOF(-97.25) = -48.625
  4. HALFOF(7/8) = 0.4375

See Also

References