How I can declare 3 decimal number and 2 decimal number in javascript?