Input three cardinals — A, B and n. Output double float F that has exact n decimal places of A/B. You need to write a subroutine than accepts double f=A/B in $f12 and integer n in $a0 and returns rounded double F in $f0. Hint: $$10^n*A/B < 2^31$$
123 456 7
0.2697368
Spoiler: $$10^n*A/B < 2^31$$ means that you can just take an integer part of it, then divide the result back to $$10^n$$