title: Set Value as 0 if its is Null in Angular
body: <p>I wanted to pass the value of a variable that if it is null, then automatically set its value to 0 when dispatching it in Angular</p>
  <pre><code>    this.myForm = this.formBuilder.group({
          id: [null, Validators.required],
          productPrice: [0],
          finalPrice: [0],
          remarks: [null],
      });
      
      
      onCreate(form: FormGroup) {
        console.log(form.value)
        this.store.dispatch(form.value)
      }
  </code></pre>