From d9adfe73f7fc88a493b7908e0499a32f552d56d6 Mon Sep 17 00:00:00 2001 From: Michaelangel007 Date: Sun, 11 Jun 2017 07:48:25 -0700 Subject: [PATCH] Fix typo, clarify --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6802a86..a99fb0d 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ For example, the number `0.7106` in 16-bit fixed point is 0.71506 * 65536 = 46,5 How do we convert the number `$B5E9` back into `.7106` ? By _digit peeling._ -1. Multipy N by 10 +Given a fractional number `N` represented as 16-bit integer then: + +1. Multiply N by 10 2. Print the Integer Part digit 3. Set the Integer Part to zero 5. Have we printed the number of decimal digits we want? If no then goto step 1