title: Way to grab what you see in Dojo Number TextBox
body: <p>I'm wondering why for some widgets such as the currency widget when I perform a dojo.byId to get a value of the textbox, I get back the formatted value meaning I get back something like this: "$44.3" with the dollar sign.</p>
  
  <p>However when I created a custom percent textbox, and it inherits from the NumberTextbox (as so does the currency textbox widget), for some reason doing a dojo.byId returns me the value without the % even though I see there is a % in the textbox.</p>
  
  <p>I'm trying to unit test this stuff and for some reason, for the currency control I was able to  do something like this:</p>
  
  <pre><code>var formatedValue = dojo.byId("currencyTextBox").value;
  doh.t(formatedValue === "$46.93", "incorrect formatting");
  </code></pre>
  
  <p>which when I check formattedValue it gave me "$46.93".</p>
  
  <p>However when I tried this same type of deal with my percent textbox, if I see for example "55%" in the textbox, this will return 55, not "55%":</p>
  
  <pre><code>var formatedValue = dojo.byId("percentTextBox").value;
  doh.t(formatedValue === "93%", "incorrect formatting");
  </code></pre>
  
  <p>so I don't understand why the behavior would act differently in terms of it picking up the textbox value using dojo.byId.  (Obviously if I were to do a widgetInstance.get("value"); I'd expect only a whole number to come back, the raw number without the formatting.)</p>