# control::Neg

    sys::Obj
      sys::Virtual
        sys::Component
          control::Neg

`public class Neg` `[niagaraIcon="module://icons/x16/control/math/subtract.png"]`

Neg Negate math object

out = -in

in

  `public property float in`

  input

out

  `public property float out [readonly]`

  output is negative of the input

execute

  `public virtual override void execute()`

  Execute is called once every scan.