This demo shows how to specify the currency, accounting, percent and other formats using the format property. It makes the NumberBox not only format the display value, but also control the user input.
using Microsoft.AspNetCore.Mvc;
namespace DevExtreme.NETCore.Demos.Controllers {
public class NumberBoxController : Controller {
public ActionResult Formatting() {
return View();
}
}
}