Extenso()

Extenso(nNumToExt,lQuantid,nMoeda,cPrefixo,cIdioma,lCent,lFrac)

It generates the numeric value written in full.

Parameters:

nNumToExt

Value to be generated in words.

lQuantit

It determines whether the full written mode will be in value or quantity (default = .F.).

nMoeda

It identifies the description of the currency obtained in the MV_MOEDAx parameter.

cPrefixo

Alternative prefix. If specified, it prefixes the return of the value in words, so the currency unit is not returned (default = "").

cIdioma

It specifies the language in which the value in words must be returned (1=Port,2=Spa,3=Eng). The default is the System language.

lCent

It specifies whether the function must return the cents. The default is .T..

lFrac

It specifies whether the cents must be returned in fraction mode (it is executed only when cIdioma = English).