title: How can I limit the number of significant digits in XSL?
body: <p>I need to have Value of a field to be either something like "12345678" (At mots 8 digits) or "12345678.1234" (8 significant digits and 4 digits after the decimal point). These digits are checked at the time when user actually enters them. It depends on the user what he enters. But he must not exceed the limit</p>
  
  <p>I tried format-number function, But It doesn't work.
  PS: My employer wouldn't let me copy-paste code here. </p>
  
  <p>Any help will be much appreciated.
  Thanks,
  Aashiq Hussain.</p>