-2

image

Please consider the highlighted portion in the image I attached above.

In that portion I want to auto generate the dot after I add the respective digits as required in Field Length Field.

i.e.
Field :- Rate Per Unit
Consider the example of that field

Here I want to auto generate the dot(.) after I press 11.

4

1 回答 1

0

你在找.toFixed(2)吗?

https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number/toFixed

于 2013-05-14T13:08:25.140 回答