1.工具类
class PrecisionLimitFormatter extends TextInputFormatter {
int _scale;
PrecisionLimitFormatter(this._scale);
RegExp exp = new RegExp("[0-9.]");
static const String POINTER = ".";
static const String DOUBLE_ZERO = "00";
@override
TextEditingValue formatEditUpdate(TextEditingValue oldValue, TextEditingValue newValue) {
if (newValue.text.