Explain Decimal Division. The actual result of 1250/400 is 3.125. We place a decimal and place a 0 in the tenths place of the dividend so we have a 0 to bring down and continue our division process.
Because i used integer block, i get 3 as answer. To be more precise, the following steps explain the whole process of the long division process. Decimal.divide on the other hand takes two parameters of the type decimal, so the division will be performed on decimal values rather than integer values.