dec

decrease given value by 1


Parameters

dec value :integer :floating :complex :rational :literal :quantity

Returns

  • :integer
  • :floating
  • :complex
  • :rational
  • :quantity
  • or  :nothing

Examples

copy
print dec 5 ; 4

copy
a: 4 dec 'a ; a: 3

Related