title: XML XSD Decimal fractionDigits
body: <p>I have an XSD schema, which a SimpleType - Decimal, fractionDigits = 2, as per this example <a href="https://stackoverflow.com/questions/22536374/how-to-specify-minimal-value-for-fractiondigits-restriction-in-xml-schema">How to specify minimal value for fractionDigits restriction in XML Schema?</a>.</p>
  
  <p>This quite rightly allows:-</p>
  
  <p>12
  12.34
  12.06
  12.5</p>
  
  <p>But it also accepts 12.230000000 (it does not accept 12.230000001). Why does it not recognise those trailing zeros? </p>
  
  <p>So, is there a way to only allow 2 digits after the decimal, so it errors on 12.230000000? </p>
  
  <p>I've tried the pattern restriction seen here - <a href="https://stackoverflow.com/questions/22536374/how-to-specify-minimal-value-for-fractiondigits-restriction-in-xml-schema">How to specify minimal value for fractionDigits restriction in XML Schema?</a> but still, it doesn't error on 12.23000000.</p>
  
  <p>Any help will be greatly appreciated - I'm sure I'm missing something very simple!</p>
  
  <p>thanks
  Craig</p>