title: Azure DevOps YAML: Passing a variable from a variable group to a parameter in a template file throws type error
body: <p>I am attempting to read a variable from a Variable Group in my YAML file and passing it on to a template file that consumes that value. The template file defines this parameter as a number and the variable group does indeed store this as a number.</p>
  <p>Here I have my pipeline that is invoking the template stage-run-tests with the 4 parameters, 3 of which are read from a variable group.</p>
  <p><a href="https://i.stack.imgur.com/h2V3L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h2V3L.png" alt="Pipeline Code" /></a></p>
  <p>The template accepts the 4 parameters and have them typed as number</p>
  <p><a href="https://i.stack.imgur.com/UZQ67.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UZQ67.png" alt="Template Code" /></a></p>
  <p>However, when I try running the pipeline, I get an error stating that the parameter was expecting a number and what was passed in was not a number.</p>
  <p><a href="https://i.stack.imgur.com/dufxo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dufxo.png" alt="Build Failure" /></a></p>
  <p>If I remove the strong typing and I simply use the parameters as is, then everything work fine.</p>
  <p><a href="https://i.stack.imgur.com/hjAju.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hjAju.png" alt="Without strong typing" /></a></p>
  <p>Can anyone help me with what's happening here? What should I do to ensure that I can have the parameters typed and still have the pipeline pass in the value from the variable group?</p>