Sha256: d2a6bc4b54d890038606c108ed78b735b1eaea7cc0101455ced8ab4162d1ae79

Contents?: true

Size: 470 Bytes

Versions: 22

Compression:

Stored size: 470 Bytes

Contents

DECIMAL OBJECT TYPE
  NAME: decimal
  SHORTCUT: num

  DESCRIPTION
    A decimal (numeric) value.

  CHILDREN
    None

  MESSAGES
    round - Round to the nearest whole value.
      If an optional parameter is included, round to the
      precision specified.

  EXAMPLE

    d [can] :
      x [decimal] : 100
      on_load [script] :
        show d.x
        put d.x / 3 into d.x
        show d.x
        tell d.x to round (1)
        show d.x

  SEE ALSO
    integer

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
gloo-0.7.1 lib/gloo/help/objs/basic/decimal.txt
gloo-0.7.0 lib/gloo/help/objs/basic/decimal.txt