How to set dot(.) at fixed place automatically in javascript? -


image

please consider highlighted portion in image attached above.

in portion want auto generate dot after add respective digits required in field length field.

i.e.
field :- rate per unit
consider example of field

here want auto generate dot(.) after press 11.

are looking .tofixed(2)?

https://developer.mozilla.org/en-us/docs/javascript/reference/global_objects/number/tofixed


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -