The answer can be obtained by carrying out a long division of A by B.
Suppose you have two decimal numbers, A and B. If A - B > 0 then A is the bigger decimal, if A - B < 0 then B is the bigger decimal and if A - B = 0, neither is bigger.
Suppose A/B equals a decimal fraction F, which has d digits after the decimal place and then terminates.Then (A/B)*10D = F*10D is an integer.That is A*10D/B is an integer.A and B are coprime so they have no factor in common and therefore B must divide 10D.
Consider the numbers A and B where A has m digits after the decimal point and B has n digits.Then find the multiple A'*B' where A' is A without its decimal point, and B' is B without its decimal point.In that answer insert the decimal point so that there are (m+n) digits after the decimal point.
Yes, because if A is your whole, B should be your decimal
You use long division of A by B.
Its 26 over a 100* * * * * Yes, but 26 over a 100 is NOT in decimal form. The decimal is 0.26
19 over 4 as a decimal equals 4.75 as a decimal.
This smells like homework, so I'll only give you pseudo-code: decimal returnLargest(decimal a, decimal b) is a > b ? then, return a, else, return b;
The answer depends on where A and B are.
129/1000 as a decimal is 0.129
1 over 100 as a decimal is 0.01
Three over eight as a decimal is 0.375