PERCENT()

From Lianjapedia
Revision as of 09:08, 4 February 2013 by Helen.george (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to calculate percentage

Syntax

PERCENT(<expN1>,<expN2>)

See Also

ACOS(), ASIN(), ATAN(), ATN2(), CALCULATE, COS(), DTOR(), LOG(), LOG10(), PI(), ROUND(), RTOD(), SET DECIMALS, SET FIXED, SIN(), SQRT(), 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

Lianja, Lianja Server