Suchjs Official Site

Number type

Suchjs built-in type, which can configure the range, formatting, etc. of numbers. For details, see :number type document

Demo

  • Such.as(":number")
  • Such.as(":number:[0,100]")
  • Such.as(":number:[0,100]:%.3f")
  • Such.as(":number:[0,200]:%03d")