~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/elementary/round.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
round            Scilab Group            Scilab Function              round
 
2
NAME
 
3
   round - rounding
 
4
  
 
5
CALLING SEQUENCE
 
6
 y=round(x)
 
7
PARAMETERS
 
8
 x          : real or complex matrix
 
9
            
 
10
 y          : integer or complex (with integer real and imag) matrix
 
11
            
 
12
DESCRIPTION
 
13
   round(x) rounds the elements of x to the nearest integers.
 
14
  
 
15
EXAMPLE
 
16
 round([1.9 -2.5])-[2,-3]
 
17
 round(1.6+2.1*%i)-(2+2*%i)
 
18
 round(-%inf)
 
19
 x=rand()*10^20;round(x)-x
 
20
SEE ALSO
 
21
   int, floor, ceil
 
22