title: jquery : Globalize.js
body: <p>I have problem while using Globalize.js in my web application.
  This is how I declare the scripts references in _Layout.cshtml :</p>
  
  <pre><code>&lt;script type="text/javascript" src="~/Scripts/jquery-2.1.0.min.js" &gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="~/Scripts/jquery-ui-1.10.4.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="~/Scripts/jquery.validate.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="~/Scripts/jquery.validate.unobtrusive.js"&gt;&lt;/script&gt;        
  &lt;script type="text/javascript" src="~/Scripts/globalize/globalize.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="~/Scripts/globalize/cultures/globalize.cultures.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and this is how I implement it in the page (Create.cshtml) :</p>
  
  <pre><code>Globalize.culture("en-US");
  var NomDia = Globalize.parseFloat(0.005);
  </code></pre>
  
  <p>Somehow an error being returnd as below :</p>
  
  <pre><code>TypeError: value.indexOf is not a function
  </code></pre>
  
  <p>And the error is occur in Globalize.js script.
  May I know what I have done wrong and cannot make it able to functioning properly ?</p>
  
  <p>Kindly advise</p>