Difference between revisions of "PERCENT()"

From Recital Documentation Wiki
Jump to: navigation, search
Line 12: Line 12:
  
 
==See Also==
 
==See Also==
[[ROUND()]], [[SET DECIMALS]]
+
[[ACOS()]], [[ASIN()]], [[ATAN()]], [[ATN2()]], [[COS()]], [[DTOR()]], [[LOG()]], [[LOG10()]], [[PI()]], [[ROUND()]], [[RTOD()]], [[SET DECIMALS]], [[SET FIXED]], [[SIN()]], [[TAN()]]
 +
 
  
  

Revision as of 13:10, 9 June 2009

Class

Numeric Data


Purpose

Function to calculate percentage


Syntax

PERCENT(<expN1>,<expN2>)


See Also

ACOS(), ASIN(), ATAN(), ATN2(), COS(), DTOR(), LOG(), LOG10(), PI(), ROUND(), RTOD(), SET DECIMALS, SET FIXED, SIN(), TAN()


Description

The PERCENT() function calculates <expN1> as a percentage of <expN2>. The number of decimals returned is defined by the SET DECIMALS command.


Example

? percent(10,100)
     10.00


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer