Deutsch English
Alphabetical index
Array functions
CGI functions
Data types
Date functions
Debugging
Fulltext functions
Language elements
Numerical functions
  • abs()
  • arccos()
  • cos()
  • exp()
  • frac()
  • int()
  • log()
  • random()
  • round()
  • sin()
  • sqrt()
  • str()
  • testbit()
  • val()
    Operators
    Other functions
    Ramtext functions
    Selecting
    Socket functions
    Statistical functions
    Stream functions
    String functions
    System functions
    Table functions
    Text functions
    Home    Overview    Search    Impressum    Contact    Members
    Topic complex Numerical functions
    Function round()
    Short Rounds a number to n decimal places
    Syntax ROUND(x : REAL; n : INTEGER) : REAL
    Parameter x : number that is to round
    n : wished decimal places
    Return x after rounding
    See also:
    int() frac()
    Description Rounds the defined number commercial to a special number of decimal places.
    Example

    function result

    Round(100.234567, 1) 100.2
    Round(3.14159, 3) 3.142
    Round(0.5,1) 1.0

    User comments:
    Write a comment:
    Name
    EMail
    Subject
    Text (Switch mode)

    Choose between
    the normal and the
    advanced editor.
    The advanced editor
    runs in IE 5+ and
    Mozilla 1.4+ only
    SPAM-Protection Please enter tdbengine in this field.

    tdbengine chat
    irc.tdbengine.org
    #tdbengine

       Copyright © 2003-2004 tdb Software Service GmbH
       Alle rechte vorbehalten. / All rights reserved
       Last changed: 21.10.2004
    {Fehler für :execmacro{execmacro="sessionspy"}