# Min Value

![](https://1839001309-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MBFTVMf7L6S67HOuqVC%2F-MScnwvubG4L68mVYHkQ%2F-MSd0Fy1FoDTs-18fDzq%2Fmin.gif?alt=media\&token=2596f949-81fa-4c3b-b709-2f2d5b884636)

`min` field is used in order to avoid unexpected values within the data stream. For every value that matches the Datastream type and less than `min` - `min` will value be used.

For example, you set the `min` value as `0` for your `Integer` Datastream and hardware sends `-1`. In that case `0` value will be used instead of `-1`. The same rule applies for HTTPS API and any user input on the web or mobile application.
