define the number of decimal for float and double