Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

fn *

*

type: function (subr) 
location: built-in
source file: xlmath.c
Common LISP compatible: yes
supported on: all machines

SYNTAX

(* <expr1> ... )
        <exprN>         -       integer or floating point number/expression

DESCRIPTION

The multiply (*) function multiplies a list of numbers together and returns the result.

EXAMPLES

(* 1)                                   ; returns 1
(* 1 2)                                 ; returns 2
(* 1 2 3)                               ; returns 6
(* 1 2 3 4)                             ; returns 24
(print (+ 1 2 (* 3.5 (/ 3.9 1.45))))    ; returns and prints 12.4138


Go to the first, previous, next, last section, table of contents.