fix the mask precision issue.

if value is 1, 1.0, 0.1, and the precision is 2, it always mask the value incorrect.

So before mask the value, format the original value in to the configuration precision, then trigger the maskValue method to format it.