LOTUSSCRIPT LANGUAGE


CCur function
Ejemplo

Returns a value converted to the Currency data type.

Syntax

CCur ( expr )

Elements

expr


Return value

CCur returns the numeric value of expr rounded to four decimal places, as a Currency value.

CCur(EMPTY) returns 0.

If expr is a string expression, CCur returns the numeric representation of the string, rounded to four decimal places. If LotusScript cannot convert the string to a number, the function raises an error.

If the value of expr is too large to fit in the Currency data type, the function raises an error.

Ejemplo
Véase también


Glosario
¿Desea opinar sobre la Ayuda o sobre la utilidad del producto?