Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 825 Bytes

userguide.md

File metadata and controls

26 lines (15 loc) · 825 Bytes

Introduction

The Round Off Value operator is a WireCloud operator that provides a simple mechanism of rounding off value, produced by an output endpoint.

Settings

  • Action when an invalid value: Action when an invalid value received. Throw exception, remove value or pass through.
  • Math: Math function for roundfing off. No operation, Math.round, Math.floor, Math.ceil or Math.trunc.
  • Decimal point: Rounding digits, Integer, first decimal place, second decimal place or third decimal place.
  • Send Nulls: Enable this option to propagate null values, leave it disable to filter null events.

Wiring

Input Endpoints

  • Input : Number e.g. 123 or "123"

Output Endpoints

  • Output : Number rounded off e.g. 123

Usage

Reference